fix twitter/mastodon interface

This commit is contained in:
b3yond 2017-07-11 22:16:26 +02:00
parent 5ccfe328ea
commit b10090a449

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)