diff --git a/mangle/util.py b/mangle/util.py index b4eb6ba..6e39dc6 100644 --- a/mangle/util.py +++ b/mangle/util.py @@ -14,10 +14,9 @@ # along with this program. If not, see . -import sys import os.path def buildResPath(relative): - directory = os.path.split(sys.argv[0])[0] + directory = os.path.dirname(__file__) return os.path.join(directory, relative)