changeset 4c83e84e4377 in /home/hg/repos/gajim

details:http://hg.gajim.org/gajim?cmd=changeset;node=4c83e84e4377
description: fix some function call under windows

diffstat:

 src/common/check_paths.py |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 331b17b63c3e -r 4c83e84e4377 src/common/check_paths.py
--- a/src/common/check_paths.py Fri Feb 26 17:09:29 2010 +0100
+++ b/src/common/check_paths.py Fri Feb 26 18:54:42 2010 +0100
@@ -129,7 +129,9 @@
     print 'spliting database'
     if os.name == 'nt':
         try:
-            OLD_LOG_DB_FOLDER = os.path.join(fse(os.environ[u'appdata']), 
u'Gajim')
+            import configpaths
+            OLD_LOG_DB_FOLDER = os.path.join(configpaths.fse(
+                os.environ[u'appdata']), u'Gajim')
         except KeyError:
             OLD_LOG_DB_FOLDER = u'.'
     else:
@@ -184,7 +186,8 @@
 
     if os.name == 'nt':
         try:
-            OLD_LOG_DB_FOLDER = os.path.join(fse(os.environ[u'appdata']), 
u'Gajim')
+            OLD_LOG_DB_FOLDER = os.path.join(configpaths.fse(
+                os.environ[u'appdata']), u'Gajim')
         except KeyError:
             OLD_LOG_DB_FOLDER = u'.'
     else:
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to