None TypeError when reposting a tweet #60
Labels
No Label
bug
enhancement
good first issue
halted
help wanted
security
wait for upstream
wait to be tested
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: b3yond/ticketfrei#60
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. 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.