remotes/1693045480750635534/spooky-22
Aevann1 2022-01-21 14:13:52 +02:00
parent e9f3ee5d59
commit 005ddae172
1 changed files with 1 additions and 0 deletions

View File

@ -1213,6 +1213,7 @@ def admin_distinguish_comment(c_id, v):
def admin_dump_cache(v):
with open('marsey_count.json', 'w') as f: dump(cache.get("marsey_count"), f)
cache.clear()
with open("marsey_count.json", 'r') as f: cache.set("marsey_count", loads(f.read()))
return {"message": "Internal cache cleared."}