You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
calling reddit.login() does not give any indication if the credentials are incorrect. worse, it populates. the reddit.user field with a correct Redditor object, so there is no way to tell if login failed.
The text was updated successfully, but these errors were encountered:
Still not entirely sure how to make pull requests for others' issues, but I've updated the code to check for RATELIMIT and WRONG_PASSWORD errors in the login response and raise Exceptions if they're encountered here: https://github.com/mellort/reddit_api/pull/27
I have a fix for this on my branch which handles the errors in a more user friendly manor. Unfortunately the fix has broken a few other things, so until I have tests for everything I wont be merging in this change.
calling reddit.login() does not give any indication if the credentials are incorrect. worse, it populates. the reddit.user field with a correct Redditor object, so there is no way to tell if login failed.
The text was updated successfully, but these errors were encountered: