summaryrefslogtreecommitdiff
path: root/lib/utils/inkscape.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils/inkscape.py')
-rw-r--r--lib/utils/inkscape.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/utils/inkscape.py b/lib/utils/inkscape.py
index a650da69..f89ea447 100644
--- a/lib/utils/inkscape.py
+++ b/lib/utils/inkscape.py
@@ -1,10 +1,10 @@
-from os.path import realpath, expanduser, join as path_join
import sys
+from os.path import expanduser, realpath
def guess_inkscape_config_path():
if getattr(sys, 'frozen', None):
- path = realpath(path_join(sys._MEIPASS, "..", "..", ".."))
+ path = realpath(sys._MEIPASS.split('extensions', 1)[0])
if sys.platform == "win32":
import win32api