mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge 257ec34709 into c2b2def1c8
This commit is contained in:
commit
98021b6027
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ class URLWrapper(object):
|
|||
|
||||
"""
|
||||
setting = "%s_%s" % (self.__class__.__name__.upper(), key)
|
||||
value = self.settings[setting]
|
||||
value = unicode(self.settings[setting])
|
||||
if not isinstance(value, six.string_types):
|
||||
logger.warning('%s is set to %s', setting, value)
|
||||
return value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue