Use unicode path for plugins

non-unicode path is marked as deprecated
This commit is contained in:
Philipp Hörist 2017-03-03 00:34:22 +01:00
parent b5c98864ad
commit 840cb365e8
1 changed files with 2 additions and 2 deletions

View File

@ -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')