From 840cb365e857bd36afe93042f664486d8390bbcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Fri, 3 Mar 2017 00:34:22 +0100 Subject: [PATCH] Use unicode path for plugins non-unicode path is marked as deprecated --- src/plugins/gajimplugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/gajimplugin.py b/src/plugins/gajimplugin.py index 98a39e0e2..2a78e4977 100644 --- a/src/plugins/gajimplugin.py +++ b/src/plugins/gajimplugin.py @@ -202,8 +202,8 @@ class GajimPluginConfig(): @log_calls('GajimPluginConfig') def __init__(self, plugin): self.plugin = plugin - self.FILE_PATH = os.path.join(gajim.PLUGINS_CONFIG_DIR, - self.plugin.short_name).encode(locale.getpreferredencoding()) + self.FILE_PATH = os.path.join( + gajim.PLUGINS_CONFIG_DIR, self.plugin.short_name) self.data = {} @log_calls('GajimPluginConfig')