Skip to content
This repository was archived by the owner on Oct 27, 2021. It is now read-only.
This repository was archived by the owner on Oct 27, 2021. It is now read-only.

KeyError location  #22

@bendinwire

Description

@bendinwire

I think this is new, since I didn't have this last time I ran (and I changed nothing - also tried a fresh download just now). When running, passing in the -e and -p, I get this error:

Traceback (most recent call last): File "/Users/tornado/Desktop/tesla-oauth2-main/tesla.py", line 268, in <module> login(args) File "/Users/tornado/Desktop/tesla-oauth2-main/tesla.py", line 225, in login code = parse_qs(resp.headers["location"])["https://auth.tesla.com/void/callback?code"] File "/Users/tornado/.pyenv/versions/3.8.7/lib/python3.8/site-packages/requests/structures.py", line 54, in __getitem__ return self._store[key.lower()][1] KeyError: 'location'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions