Skip to content

TweepError log: fix AttributeError#1

Open
nikolas wants to merge 1 commit intomolly:masterfrom
nikolas:patch-1
Open

TweepError log: fix AttributeError#1
nikolas wants to merge 1 commit intomolly:masterfrom
nikolas:patch-1

Conversation

@nikolas
Copy link

@nikolas nikolas commented Nov 14, 2017

This change fixes this error:

Traceback (most recent call last):
  File "bot.py", line 84, in <module>
    tweet(tweet_text)
  File "bot.py", line 67, in tweet
    log(e.message)
AttributeError: 'TweepError' object has no attribute 'message'

I guess the error is a little different with recent versions of tweepy. I'm using 3.5.0.

This change fixes this error:

```
Traceback (most recent call last):
  File "bot.py", line 84, in <module>
    tweet(tweet_text)
  File "bot.py", line 67, in tweet
    log(e.message)
AttributeError: 'TweepError' object has no attribute 'message'
```

I guess the error is a little different with recent versions of tweepy. I'm using 3.5.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant