utils/export_annotations.py
changeset 46 7cff1f0a6882
parent 43 e27c3c1c57f1
child 66 658561ea9e65
--- a/utils/export_annotations.py	Mon Oct 20 10:55:20 2014 +0200
+++ b/utils/export_annotations.py	Mon Oct 20 14:57:11 2014 +0200
@@ -45,7 +45,7 @@
     if end_date:
         res.append({'name': 'ts', 'op': "<=", 'val':end_date.isoformat() })
     if events:
-        res.append({'name': 'event', 'op': "in", 'val':events })
+        res.append({'name': 'event_code', 'op': "in", 'val':events })
     if channels:
         res.append({'name': 'channel', 'op': "in", 'val':channels })
     if user_whitelist: