From 3d5901dd63f591706e57f4252250b94ee38d7037 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Fri, 2 Sep 2005 21:45:35 +0000 Subject: [PATCH] [stephan k.] also decode in LOGPATH --- src/common/logger.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/logger.py b/src/common/logger.py index 16e3dc231..42cf5f269 100644 --- a/src/common/logger.py +++ b/src/common/logger.py @@ -36,6 +36,8 @@ if os.name == 'nt': # win9x, ./logs LOGPATH = 'Logs' +LOGPATH = LOGPATH.decode(sys.getfilesystemencoding()) + class Logger: def __init__(self): dot_gajim = os.path.dirname(LOGPATH)