From a7841c5da536ecb81fd00bfc0a87223f98981e88 Mon Sep 17 00:00:00 2001 From: Simon Conseil Date: Sun, 11 Mar 2018 01:38:19 +0100 Subject: [PATCH] strings should always be unicode now --- sigal/settings.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/sigal/settings.py b/sigal/settings.py index 18262b9..83d1718 100644 --- a/sigal/settings.py +++ b/sigal/settings.py @@ -149,9 +149,6 @@ def read_settings(filename=None): settings[p] = abspath(normpath(join(settings_path, path))) logger.debug("Rewrite %s : %s -> %s", p, path, settings[p]) - if settings['title'] and not isinstance(settings['title'], str): - settings['title'] = settings['title'].decode('utf8') - for key in ('img_size', 'thumb_size', 'video_size'): w, h = settings[key] if h > w: