From a9f9f5c9b5f5661c42bf9ffdd20b29367aacab11 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Tue, 18 Sep 2018 20:46:59 -0500 Subject: [PATCH] Fix syntax error --- tootbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tootbot.py b/tootbot.py index 3804f44..3bfb790 100755 --- a/tootbot.py +++ b/tootbot.py @@ -16,7 +16,7 @@ if len(sys.argv) < 4: print("Usage: python3 tootbot.py twitter_account mastodon_login mastodon_passwd mastodon_instance") sys.exit(1) -sleep_time = random.randomin(0, 5 * 60) +sleep_time = random.randint(0, 5 * 60) time.sleep(sleep_time) # sqlite db to store processed tweets (and corresponding toots ids)