Bug fix: uncommented lines from demo mode

This commit is contained in:
2021-08-06 00:39:58 +01:00
parent ffe9e86357
commit 272ecf80a5
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
#!/usr/local/bin/python3.8
#!/usr/local/bin/python3.9
import tweepy
import time
import os
@ -43,10 +43,10 @@ def interactions():
print(f'Tweet {tweet.text} by @{tweet.author.screen_name}', flush = True)
if not tweet.favorited:
print('Not favourited.')
# api.create_favorite(tweet.id)
api.create_favorite(tweet.id)
if not tweet.retweeted:
print('Not retweeted.')
# api.retweet(tweet.id)
api.retweet(tweet.id)
storeLastSeen(lastSeenFile, tweet.id)
now = datetime.now()