[stephan k.] also decode in LOGPATH
This commit is contained in:
parent
a80c688d5f
commit
3d5901dd63
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,8 @@ if os.name == 'nt':
|
||||||
# win9x, ./logs
|
# win9x, ./logs
|
||||||
LOGPATH = 'Logs'
|
LOGPATH = 'Logs'
|
||||||
|
|
||||||
|
LOGPATH = LOGPATH.decode(sys.getfilesystemencoding())
|
||||||
|
|
||||||
class Logger:
|
class Logger:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
dot_gajim = os.path.dirname(LOGPATH)
|
dot_gajim = os.path.dirname(LOGPATH)
|
||||||
|
|
Loading…
Add table
Reference in a new issue