black format

This commit is contained in:
Glandos 2023-01-30 23:34:45 +01:00
parent 0039fdaf77
commit 2e07c369f2

View file

@ -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)