Bug fix: uncommented lines from demo mode
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user