Skip to content

Commit c105032

Browse files
removed mistake w/ string as number of seconds to w8
1 parent d87f6af commit c105032

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

twitter-bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def twitter_bot():
66
argfile = str(sys.argv[1])
77

88
# number of seconds to wait until next tweet
9-
seconds = sys.argv[2]
9+
seconds = int(sys.argv[2])
1010

1111
# establish connection to twitter api
1212
auth = tweepy.OAuthHandler(config.CONSUMER_KEY, config.CONSUMER_SECRET)

0 commit comments

Comments
 (0)