-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
Tanner develop fixes phase #2 #263
Conversation
Pull Request Test Coverage Report for Build 696
💛 - Coveralls |
tanner/api/api.py
Outdated
@@ -51,7 +51,7 @@ def __init__(self, redis_client): | |||
if not query_res: | |||
return 'Invalid SNARE UUID' | |||
for (i, val) in enumerate(query_res): | |||
query_res[i] = json.loads(val) | |||
query_res[i] = json.loads(val.decode("utf-8")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd better put encoding things into redis query
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
zrevrangebyscore
redis query doesn't have encoding parameter. So except for this case, I have added encoding things in the redis query itself. Please look into it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually it has this parameter (maybe they forgot to add it into the docs) :)
@afeena That redis encoding is fixed. Please look into it now :) |
This will fix the following: