From b10090a44981ff664d2777dffb198a90e95d0b2e Mon Sep 17 00:00:00 2001 From: b3yond Date: Tue, 11 Jul 2017 22:16:26 +0200 Subject: [PATCH] fix twitter/mastodon interface --- retweetbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retweetbot.py b/retweetbot.py index f75fe60..21c77f4 100644 --- a/retweetbot.py +++ b/retweetbot.py @@ -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)