Commit dbb93ccf authored by Francesco Poldi's avatar Francesco Poldi

Added check for retweets #404

Unless you do not retweet yourself, the users' id will be different 
parent 6f78454c
......@@ -147,7 +147,7 @@ async def Tweets(tweets, location, config, conn, url=''):
await checkData(tweets, location, config, conn)
else:
logme.debug(__name__+':Tweets:else')
if int(tweets["data-user-id"]) == config.User_id:
if int(tweets["data-user-id"]) == config.User_id or config.Retweets:
await checkData(tweets, location, config, conn)
async def Users(u, config, conn):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment