Commit 840cb365 authored by Philipp Hörist's avatar Philipp Hörist

Use unicode path for plugins

non-unicode path is marked as deprecated
parent b5c98864
......@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment