forked from github/pelican
Oops. This is it. See #115.
This commit is contained in:
parent
19ed8d5ef1
commit
f759491279
1 changed files with 2 additions and 2 deletions
|
|
@ -56,8 +56,8 @@ def read_settings(filename):
|
|||
# if locales is not a list, make it one
|
||||
locales = context['LOCALE']
|
||||
|
||||
if type(locales) is str:
|
||||
locales = [str]
|
||||
if isinstance(locales, basestring):
|
||||
locales = [locales]
|
||||
|
||||
# try to set the different locales, fallback on the default.
|
||||
for locale_ in context['LOCALE']:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue