gfd
This commit is contained in:
parent
71571e0fe3
commit
ca5e2784e9
1 changed files with 3 additions and 1 deletions
|
@ -109,6 +109,8 @@ def after_request(response):
|
|||
response.headers.add("X-Frame-Options", "deny")
|
||||
return response
|
||||
|
||||
with open("marsey_count.json", 'r') as f: cache.set("marsey_count", loads(f.read()))
|
||||
if cache.get("marsey_count") == None:
|
||||
with open("marsey_count.json", 'r') as f:
|
||||
cache.set("marsey_count", loads(f.read()))
|
||||
|
||||
from files.routes import *
|
Loading…
Add table
Add a link
Reference in a new issue