Remove bullshit

This commit is contained in:
Klaus-Uwe Mitterer 2017-03-24 17:09:55 +01:00
parent 60c32fcb25
commit b6fc92e3c8

View file

@ -13,8 +13,8 @@ class twObject:
def delete(self, id):
self.api.destroy_status(id)
def search(self, query, savepoint = 0, count = None):
tweets = list(tweepy.Cursor(self.api.search, q=query, since_id=savepoint, count=count, include_entities=True).items())
def search(self, query, savepoint = 0):
tweets = list(tweepy.Cursor(self.api.search, q=query, since_id=savepoint, include_entities=True).items())
tweets.reverse()
return tweets