Use __file__ for CURRENT_DIR

This commit is contained in:
Cédric Krier committed 2008-05-30 20:52:23 +02:00
1 parent 6a2deff6e4
commit 035deab0fc
1 file changed
+1 -1
+1 -1
View File
@@ -168,7 +168,7 @@ class ConfigManager(object):
CONFIG = ConfigManager()
CURRENT_DIR = os.path.abspath(os.path.normpath(os.path.join(
os.path.dirname(sys.argv[0]))))
os.path.dirname(__file__), '..')))
PREFIX = os.path.abspath(os.path.normpath(os.path.join(
os.path.dirname(sys.argv[0]), '..')))
PIXMAPS_DIR = os.path.join(CURRENT_DIR, 'share', 'pixmaps')