root under win9X is . instead of ''
This commit is contained in:
parent
4bd6253192
commit
2082034e85
|
@ -41,7 +41,7 @@ class ConfigPaths:
|
||||||
self.root = os.path.join(fse(os.environ[u'appdata']), u'Gajim')
|
self.root = os.path.join(fse(os.environ[u'appdata']), u'Gajim')
|
||||||
except KeyError:
|
except KeyError:
|
||||||
# win9x, in cwd
|
# win9x, in cwd
|
||||||
self.root = u''
|
self.root = u'.'
|
||||||
else: # Unices
|
else: # Unices
|
||||||
# Pass in an Unicode string, and hopefully get one back.
|
# Pass in an Unicode string, and hopefully get one back.
|
||||||
self.root = os.path.expanduser(u'~/.gajim')
|
self.root = os.path.expanduser(u'~/.gajim')
|
||||||
|
|
Loading…
Reference in New Issue