Skip to content
Snippets Groups Projects
Commit 1ce40155 authored by nkour's avatar nkour
Browse files

[stephan k.] decode path for config

parent 16acf1d4
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,7 @@
##
import os
import sys
import locale
from common import gajim
from common import i18n
......@@ -85,6 +86,8 @@ def write_line(self, fd, opt, parents, value):
def write(self):
(base_dir, filename) = os.path.split(self.__filename)
base_dir = base_dir.decode(sys.getfilesystemencoding())
filename = filename.decode(sys.getfilesystemencoding())
self.__tempfile = os.path.join(base_dir, '.' + filename)
try:
fd = open(self.__tempfile, 'w')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment