Now replace it with both more sane & the thing which actually works

This commit is contained in:
DarkPhoenix
2010-12-18 01:13:17 +03:00
parent 6cd400ae7c
commit ab17c6d3c4

View File

@@ -8,7 +8,7 @@ debug = False
# The main pyfa directory which contains run.py
# python 2.X uses ansi by default, so we need to convert the character encoding :(
pyfaPath = unicode(os.path.join(os.getcwd(), os.path.dirname(sys.modules['__main__'].__file__)),
pyfaPath = unicode(os.path.dirname(os.path.abspath(sys.modules['__main__'].__file__)),
sys.getfilesystemencoding())
# Where we store the saved fits etc, default is the current users home directory