Merged
authorEdouard Tisserant
Fri, 19 Jun 2015 23:36:35 +0200
changeset 1468 7df108e8cb18
parent 1467 68ba08b3a152 (current diff)
parent 1464 2b4a0d87becb (diff)
child 1475 de4ee16f7c6c
Merged
--- a/canfestival/canfestival.py	Fri Jun 19 22:36:35 2015 +0200
+++ b/canfestival/canfestival.py	Fri Jun 19 23:36:35 2015 +0200
@@ -1,6 +1,6 @@
 import os, sys, shutil
 
-base_folder = os.path.split(sys.path[0])[0]
+base_folder = os.path.dirname(os.path.dirname(os.path.dirname(os.path.realpath(__file__))))
 CanFestivalPath = os.path.join(base_folder, "CanFestival-3")
 sys.path.append(os.path.join(CanFestivalPath, "objdictgen"))