From 1aad5fce5db208e06a2a20e88487d5522e9a403e Mon Sep 17 00:00:00 2001 From: moneromooo Date: Mon, 16 Mar 2015 19:25:51 +0000 Subject: [PATCH] twitter: remove nonsensical long cast --- tipbot/modules/twitter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tipbot/modules/twitter.py b/tipbot/modules/twitter.py index bc58497..ce22c38 100644 --- a/tipbot/modules/twitter.py +++ b/tipbot/modules/twitter.py @@ -65,8 +65,8 @@ class TwitterNetwork(Network): return False self.items_cache=dict() - self.last_seen_tweet_id=long(redis_get('twitter:last_seen_tweet_id')) - self.last_seen_dm_id=long(redis_get('twitter:last_seen_dm_id')) + self.last_seen_tweet_id=redis_get('twitter:last_seen_tweet_id') + self.last_seen_dm_id=redis_get('twitter:last_seen_dm_id') log_log('loaded last seen id: tweet %s, dm %s' % (str(self.last_seen_tweet_id),str(self.last_seen_dm_id))) auth=tweepy.OAuthHandler(ckey,csecret)