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

session.delete 无法使用? #64

Closed
kidultx opened this issue Aug 24, 2014 · 4 comments
Closed

session.delete 无法使用? #64

kidultx opened this issue Aug 24, 2014 · 4 comments

Comments

@kidultx
Copy link

kidultx commented Aug 24, 2014

session.delete("type", None)
AttributeError: 'dict' object has no attribute 'delete'

@tg123
Copy link
Contributor

tg123 commented Aug 24, 2014

能否详细说明下是哪种 session

@kidultx
Copy link
Author

kidultx commented Aug 24, 2014

默认的werobot_session

@tg123
Copy link
Contributor

tg123 commented Aug 24, 2014

我明白了

你这样用

del session[key]

或者

session[key] = None

都是可以达到目的的

@kidultx
Copy link
Author

kidultx commented Aug 25, 2014

ok, it's right

@kidultx kidultx closed this as completed Aug 25, 2014
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

2 participants