We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9abbaae commit 70fad9aCopy full SHA for 70fad9a
loremricksum.py
@@ -37,11 +37,12 @@ def on_status(self, status):
37
username = status.user.screen_name
38
status_id = status.id
39
if 'in_reply_to_status' in data:
40
- favorite(status_id)
41
- tweetReply(username, status_id)
42
- except tweepy.TweepError as e:
43
- print((e.reason))
44
+ try:
+ favorite(status_id)
+ tweetReply(username, status_id)
+ except tweepy.TweepError as e:
+ print((e.reason))
45
46
else:
47
favorite(status_id)
48
0 commit comments