1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Fixed cache invalidation bug

This commit is contained in:
Krateng 2019-03-15 11:16:53 +01:00
parent 9fc2ffe6a7
commit d07ca92252

View File

@ -847,7 +847,7 @@ def invalidate_caches():
cache_query = {} cache_query = {}
cache_aggregate = {} cache_aggregate = {}
now = datetime.datetime.now() now = datetime.datetime.utcnow()
global cacheday global cacheday
cacheday = (now.year,now.month,now.day) cacheday = (now.year,now.month,now.day)