robinhood-unofficial / pyrh

Python Framework to make trades with the unofficial Robinhood API
https://pyrh.readthedocs.io/en/latest/
MIT License
1.78k stars 603 forks source link

fix issue in loading of saved username login sessions #263

Closed clay-moss closed 4 years ago

clay-moss commented 4 years ago

Related Issue

Fix #262

Description

Some users may not be using email for logins so we can attempt to validate as email for username. Otherwise upon validation error assume a username string used for login. Without this loading of sessions with 'pyrh.load_session()' will fail if a username was used for login.

clay-moss commented 4 years ago

messed this PR up will open a new one