This commit is contained in:
JeffZhang 2016-12-23 16:08:57 +00:00 committed by GitHub
commit 6e7480595a

View file

@ -51,7 +51,7 @@ CONF = {
'github_pages_branch': _GITHUB_PAGES_BRANCHES['project'], 'github_pages_branch': _GITHUB_PAGES_BRANCHES['project'],
'default_pagination': 10, 'default_pagination': 10,
'siteurl': '', 'siteurl': '',
'lang': locale.getlocale()[0].split('_')[0], 'lang': locale.getlocale()[0].split('_')[0] if locale.getlocale() is not None else None,
'timezone': _DEFAULT_TIMEZONE 'timezone': _DEFAULT_TIMEZONE
} }