aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2021-02-18 18:37:16 +0000
committerzsloan2021-02-18 18:37:16 +0000
commitcafdd7284f3c2f87e1dbb288e181f1e5aeeccc06 (patch)
tree16f695bfc2c7ddba8e9884c52ceac856604b1419 /wqflask
parent7731a3453fc007261c80f5cd7d91f60e26785be4 (diff)
downloadgenenetwork2-cafdd7284f3c2f87e1dbb288e181f1e5aeeccc06.tar.gz
Remove the deocde since it was throwing an error
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/utility/redis_tools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/utility/redis_tools.py b/wqflask/utility/redis_tools.py
index f72d9110..236cc755 100644
--- a/wqflask/utility/redis_tools.py
+++ b/wqflask/utility/redis_tools.py
@@ -26,7 +26,7 @@ def is_redis_available():
def load_json_from_redis(item_list, column_value):
- return json.loads(item_list[str.encode(column_value.decode("utf-8"))])
+ return json.loads(item_list[str.encode(column_value)])
def get_user_id(column_name, column_value):