From 36e0847ea15191d136f85068529928d69b317368 Mon Sep 17 00:00:00 2001 From: zsloan Date: Thu, 10 Oct 2019 11:08:18 -0500 Subject: Fixed issue related to Redis upgrade and changed some text on Affiliates part of home page --- wqflask/wqflask/collect.py | 2 +- wqflask/wqflask/templates/index_page_orig.html | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'wqflask') diff --git a/wqflask/wqflask/collect.py b/wqflask/wqflask/collect.py index 22d3f7ee..73269c4d 100644 --- a/wqflask/wqflask/collect.py +++ b/wqflask/wqflask/collect.py @@ -53,7 +53,7 @@ class AnonCollection(object): #ZS: Find id and set it if the collection doesn't already exist if Redis.get(self.key) == "None" or Redis.get(self.key) == None: - Redis.set(self.key, None) #ZS: For some reason I get the error "Operation against a key holding the wrong kind of value" if I don't do this + Redis.set(self.key, "None") #ZS: For some reason I get the error "Operation against a key holding the wrong kind of value" if I don't do this else: collections_list = json.loads(Redis.get(self.key)) collection_position = 0 #ZS: Position of collection in collection_list, if it exists diff --git a/wqflask/wqflask/templates/index_page_orig.html b/wqflask/wqflask/templates/index_page_orig.html index 108c87ed..7d5cd95b 100755 --- a/wqflask/wqflask/templates/index_page_orig.html +++ b/wqflask/wqflask/templates/index_page_orig.html @@ -188,12 +188,12 @@ -- cgit v1.2.3