# HG changeset patch
# User Edouard Tisserant
# Date 1434749795 -7200
# Node ID 7df108e8cb18e06dbd10da2ab7b5efaa0be2e064
# Parent  68ba08b3a152ffe7233b69ec49c12de806df31e0# Parent  2b4a0d87becb10a6f632919b744226c3d768ade4
Merged

diff -r 68ba08b3a152 -r 7df108e8cb18 canfestival/canfestival.py
--- 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"))