bugfixes after onlineveilingmeester update

This commit is contained in:
Computerboer
2023-07-09 21:19:08 +02:00
parent 96b4cdc0ea
commit 84b190edab
2 changed files with 9 additions and 7 deletions

View File

@@ -13,11 +13,11 @@ class Cache():
print('removing cacheobject ' + key)
del cache[key]
return None
#print('returning cacheobject ' + key)
print(str(datetime.now()) + ' returning cacheobject ' + key)
return cacheobj.obj
def add(key, obj):
print('adding cacheobject ' + key)
print(str(datetime.now()) + ' adding cacheobject ' + key)
cacheobj = CacheObj(key, obj)
cache[key] = cacheobj