9e13d07b6e
Before, we were using both __file__ as well as sys.argv[0] to determine the base directory for Scyther, and we were not taking symlinks into account. By using the inspect module, we can consistently pick the current frame and derive the file from that, then use realpath to strip symlinks. |
||
---|---|---|
.. | ||
__init__.py | ||
About.py | ||
Attackwindow.py | ||
Editor.py | ||
Error.py | ||
Icon.py | ||
Mainwindow.py | ||
Makeimage.py | ||
Misc.py | ||
Preference.py | ||
Scytherthread.py | ||
Settingswindow.py | ||
Temporary.py | ||
Version.py |