Fix syntax error

This commit is contained in:
Felix Ableitner 2018-09-18 20:46:59 -05:00 committed by GitHub
parent d43d2aa3e2
commit a9f9f5c9b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@ if len(sys.argv) < 4:
print("Usage: python3 tootbot.py twitter_account mastodon_login mastodon_passwd mastodon_instance") print("Usage: python3 tootbot.py twitter_account mastodon_login mastodon_passwd mastodon_instance")
sys.exit(1) sys.exit(1)
sleep_time = random.randomin(0, 5 * 60) sleep_time = random.randint(0, 5 * 60)
time.sleep(sleep_time) time.sleep(sleep_time)
# sqlite db to store processed tweets (and corresponding toots ids) # sqlite db to store processed tweets (and corresponding toots ids)