mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-29 05:11:52 +00:00
Add reload_db option to databaseReset.py
This commit is contained in:
parent
f8be510509
commit
ddb62f2897
@ -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