Fix custom theme loading under Python 3.5.

This commit is contained in:
Emmanuel Gil Peyrot 2018-07-16 02:01:30 +02:00
parent 13b90fb10b
commit 31ec0564e7

View file

@ -501,7 +501,7 @@ def update_themes_dir(option=None, value=None):
except OSError:
log.exception('Unable to create the themes dir (%s):', themes_dir)
else:
load_path.append(themes_dir)
load_path.append(str(themes_dir))
# system-wide import
try: