Use unicode path for plugins
non-unicode path is marked as deprecated
This commit is contained in:
parent
b5c98864ad
commit
840cb365e8
|
@ -202,8 +202,8 @@ class GajimPluginConfig():
|
||||||
@log_calls('GajimPluginConfig')
|
@log_calls('GajimPluginConfig')
|
||||||
def __init__(self, plugin):
|
def __init__(self, plugin):
|
||||||
self.plugin = plugin
|
self.plugin = plugin
|
||||||
self.FILE_PATH = os.path.join(gajim.PLUGINS_CONFIG_DIR,
|
self.FILE_PATH = os.path.join(
|
||||||
self.plugin.short_name).encode(locale.getpreferredencoding())
|
gajim.PLUGINS_CONFIG_DIR, self.plugin.short_name)
|
||||||
self.data = {}
|
self.data = {}
|
||||||
|
|
||||||
@log_calls('GajimPluginConfig')
|
@log_calls('GajimPluginConfig')
|
||||||
|
|
Loading…
Reference in New Issue