Revert "Replace reliance on current working dir with something more sane, although it doesn't work for some cases"
This reverts commit bfd69470d3.
This commit is contained in:
@@ -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.abspath(sys.modules['__main__'].__file__),
|
||||
pyfaPath = unicode(os.path.join(os.getcwd(), os.path.dirname(sys.modules['__main__'].__file__)),
|
||||
sys.getfilesystemencoding())
|
||||
|
||||
# Where we store the saved fits etc, default is the current users home directory
|
||||
|
||||
Reference in New Issue
Block a user