fix twitter/mastodon interface
This commit is contained in:
parent
5ccfe328ea
commit
b10090a449
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue