TIL flake8 :)
This commit is contained in:
parent
114b5af6c2
commit
106ac26e26
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ app.secret_key = os.environ.get('SECRET_KEY', 'Secret Key')
|
||||||
app.config.update(
|
app.config.update(
|
||||||
dict(STATIC_URL=os.environ.get('STATIC_URL', 'static')))
|
dict(STATIC_URL=os.environ.get('STATIC_URL', 'static')))
|
||||||
|
|
||||||
|
|
||||||
# Set up Babel
|
# Set up Babel
|
||||||
def get_locale():
|
def get_locale():
|
||||||
return request.accept_languages.best_match(['en', 'es', 'de', 'nl'])
|
return request.accept_languages.best_match(['en', 'es', 'de', 'nl'])
|
||||||
|
|
Loading…
Reference in a new issue