mirror of
https://github.com/akuker/RASCSI.git
synced 2024-12-21 08:29:59 +00:00
Merge pull request #914 from akuker/rdmark-suppress-warning
Web UI: Change locale fallback message log level to 'info'
This commit is contained in:
commit
afcb1534e6
@ -150,7 +150,7 @@ def get_locale():
|
||||
language = session["language"]
|
||||
except KeyError:
|
||||
language = ""
|
||||
logging.warning("The default locale could not be detected. Falling back to English.")
|
||||
logging.info("The default locale could not be detected. Falling back to English.")
|
||||
if language:
|
||||
return language
|
||||
# Hardcoded fallback to "en" when the user agent does not send an accept-language header
|
||||
|
Loading…
Reference in New Issue
Block a user