lookingglass/hyperglass/manage.py
2019-05-10 14:10:32 -07:00

21 lines
285 B
Python

import os
import sys
import app
import logging
log = logging.getLogger(__name__)
def clearcache():
try:
app.clearCache()
except:
raise
for arg in sys.argv:
if arg == "clearcache":
try:
clearcache()
except:
raise