Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird issue when using "with SessionToken" #142

Open
konoufo opened this issue Jun 8, 2016 · 0 comments
Open

Weird issue when using "with SessionToken" #142

konoufo opened this issue Jun 8, 2016 · 0 comments

Comments

@konoufo
Copy link
Contributor

konoufo commented Jun 8, 2016

Hello guys !
This line raises a KeyError:
del ACCESS_KEYS['session_token']
It's in parse_rest/connection.py in exit method of class SessionToken.
It's executed when leaving this [familiar] with block in my code:
with SessionToken(token): user = User.current_user()

It doesn't make much sense given what's happening in enter. If anybody has an idea, it would be very much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant