1
0
Fork 1
mirror of https://github.com/thatmattlove/hyperglass.git synced 2026-01-17 08:48:05 +00:00
thatmattlove-hyperglass/hyperglass/manage.py
checktheroads 47f1b938cd initial
2019-05-07 23:21:41 -07:00

20 lines
316 B
Python

import os
import sys
import app
def clearcache():
try:
app.clearCache()
except:
raise
for arg in sys.argv:
try:
if arg == "clearcache":
clearcache()
print("Successfully cleared cache.")
except:
print("Failed to clear cache.")
raise