fix twitter/mastodon interface

This commit is contained in:
b3yond 2017-07-11 22:16:26 +02:00
parent 5ccfe328ea
commit b10090a449
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ class RetweetBot(object):
# these lines.
except twitter.error.TwitterError:
print("[ERROR] probably you already retweeted this tweet.")
return None
return ()
except requests.exceptions.ConnectionError:
print("[ERROR] Bad Connection.")
sleep(10)