forked from expo/troggle
Add reload_db option to databaseReset.py
This commit is contained in:
parent
8b5f81c8f8
commit
1e26578305
@ -237,6 +237,8 @@ if __name__ == "__main__":
|
|||||||
import_surveys()
|
import_surveys()
|
||||||
elif "help" in sys.argv:
|
elif "help" in sys.argv:
|
||||||
usage()
|
usage()
|
||||||
|
elif "reload_db" in sys.argv:
|
||||||
|
reload_db()
|
||||||
else:
|
else:
|
||||||
print("%s not recognised" % sys.argv)
|
print("%s not recognised" % sys.argv)
|
||||||
usage()
|
usage()
|
||||||
|
Loading…
Reference in New Issue
Block a user