southpaw icon indicating copy to clipboard operation
southpaw copied to clipboard

Users Key Error

Open timfro opened this issue 1 year ago • 1 comments

Traceback (most recent call last): File "c:\Users\timf0\Python Projects\fanduelauto.py", line 13, in fd = southpaw.Fanduel(fd_email, fd_pw, fd_basic, fd_session) File "C:\Users\timf0\Python\lib\site-packages\southpaw\fanduel.py", line 275, in init self.__authenticate() File "C:\Users\timf0\Python\lib\site-packages\southpaw\fanduel.py", line 444, in __authenticate if current_response_json and len(current_response_json['users']) > 0: KeyError: 'users'

Looks like the headers doesn't initialize a "users" key but is referenced later. How would you go about this if it still is working?

timfro avatar Mar 07 '23 18:03 timfro