twitter: remove nonsensical long cast

This commit is contained in:
moneromooo 2015-03-16 19:25:51 +00:00
parent 33aa1debca
commit 1aad5fce5d
1 changed files with 2 additions and 2 deletions

View File

@ -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)