summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/kolab_parse_telemetry.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/kolab_parse_telemetry.py b/bin/kolab_parse_telemetry.py
index cb447e8..ea4da25 100755
--- a/bin/kolab_parse_telemetry.py
+++ b/bin/kolab_parse_telemetry.py
@@ -41,7 +41,12 @@ from sqlalchemy import Text
from sqlalchemy import create_engine
from sqlalchemy.orm import mapper
-from sqlalchemy.orm import relationship
+
+try:
+ from sqlalchemy.orm import relationship
+except:
+ from sqlalchemy.orm import relation as relationship
+
try:
from sqlalchemy.orm import sessionmaker
except: