summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xucs/listener.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/ucs/listener.py b/ucs/listener.py
index 7511523..ea19d02 100755
--- a/ucs/listener.py
+++ b/ucs/listener.py
@@ -28,7 +28,16 @@ import sys
import univention_baseconfig
import univention.debug as ulog
-sys.path = [ '/root/pykolab.git/' ] + sys.path
+sys.path = [
+ os.path.abspath(
+ os.path.join(
+ os.path.dirname(
+ os.path.realpath(os.path.abspath(__file__))
+ ),
+ '..'
+ )
+ ) ] + sys.path
+
#sys.stderr = open('/dev/null', 'a')
name = 'kolab'