mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
fix split on NoneType bug
This commit is contained in:
parent
d13d57eaa6
commit
db81499937
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ CONF = {
|
|||
'github_pages_branch': _GITHUB_PAGES_BRANCHES['project'],
|
||||
'default_pagination': 10,
|
||||
'siteurl': '',
|
||||
'lang': locale.getlocale()[0].split('_')[0],
|
||||
'lang': locale.getlocale()[0].split('_')[0] if locale.getlocale() is not None else None,
|
||||
'timezone': _DEFAULT_TIMEZONE
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue