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

ttl could be None #60

Closed
freakypie opened this issue Oct 17, 2017 · 0 comments · Fixed by #61
Closed

ttl could be None #60

freakypie opened this issue Oct 17, 2017 · 0 comments · Fixed by #61

Comments

@freakypie
Copy link

I got this report on my error logger
TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'

on this line:
https://github.com/django/asgi_redis/blob/master/asgi_redis/core.py#L395

so it appears that ttl can return None

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

Successfully merging a pull request may close this issue.

1 participant