script/utils/export_twitter_alchemy.py
changeset 1024 44636bcf3ea8
parent 1023 7d87ba8cc268
child 1153 02722ce55cf8
--- a/script/utils/export_twitter_alchemy.py	Mon Dec 02 16:38:41 2013 +0100
+++ b/script/utils/export_twitter_alchemy.py	Wed Dec 04 14:34:04 2013 +0100
@@ -427,7 +427,7 @@
                         ts = tweet_ts
                     tweet_ts_rel = (tweet_ts-ts) * 1000
                     if deltas:
-                        d = find_delta(tweet_ts_rel, deltas)
+                        d = find_delta(deltas, tweet_ts_rel)
                         if d[1] < 0:
                             continue
                         else :