1
0
Fork 0
forked from github/pelican

Oops. This is it. See #115.

This commit is contained in:
Alexis Metaireau 2011-05-19 18:00:17 +01:00
commit f759491279

View file

@ -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']: