Fix in lang

This commit is contained in:
Antonio de la Rosa 2019-03-14 14:42:46 +01:00
parent 687f2c24c9
commit f081dddf03

View file

@ -81,7 +81,7 @@ class I18n:
@staticmethod @staticmethod
def get_browser_lang(): def get_browser_lang():
return request.headers.get('Accept-Language') return request.headers.get('Accept-Language', 'en-US')
@staticmethod @staticmethod
def lang_json(module, symbol, text_default): def lang_json(module, symbol, text_default):