None TypeError when reposting a tweet #60
Labels
No labels
bug
enhancement
good first issue
halted
help wanted
security
wait for upstream
wait to be tested
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: b3yond/ticketfrei#60
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Author: @b3yond Posted at: 27.10.2018 10:33
Expected behavior
The twitterbot should retweet a tweet without errors.
Actual Behavior
The twitterbot retweeted the tweet 5 minutes after it got posted, but also crashed with following TypeError:
It throws the error because row is None. row is returned by user.get_twitter_token(). I reproduced the SQL request which is executed there; it does not return None, it returns the row with two items, like it's expected.
To Reproduce
Author: @b3yond Posted at: 27.10.2018 10:34
Even weirder - it still retweeted the tweet, even though it crashed.