Skip to content
Snippets Groups Projects
Commit 72e193c2 authored by nkour's avatar nkour
Browse files

decode using fs encoding

parent d4ad6d8c
No related branches found
No related tags found
No related merge requests found
......@@ -49,8 +49,8 @@
except KeyError:
# win9x, ./Logs etc
LOGPATH = 'Logs' # deprecated
VCARDPATH = 'Vcards'
LOG_DB_PATH = 'logs.db'
VCARDPATH = 'Vcards'
else: # Unices
DATA_DIR = '../data'
LOGPATH = os.path.expanduser('~/.gajim/logs') # deprecated
......@@ -60,6 +60,7 @@
try:
LOGPATH = LOGPATH.decode(sys.getfilesystemencoding())
VCARDPATH = VCARDPATH.decode(sys.getfilesystemencoding())
LOG_DB_PATH = LOG_DB_PATH.decode(sys.getfilesystemencoding())
except:
pass
......
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