mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 17:32:38 +02:00
black format
This commit is contained in:
parent
0039fdaf77
commit
2e07c369f2
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ def create_app(
|
|||
setattr(g, "lang", lang)
|
||||
return lang
|
||||
|
||||
if hasattr(Babel, 'localeselector'):
|
||||
if hasattr(Babel, "localeselector"):
|
||||
# Compatibility for flask-babel <= 2
|
||||
babel = Babel(app, default_timezone=default_timezone)
|
||||
babel.localeselector(get_locale)
|
||||
|
|
Loading…
Reference in a new issue