2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-12-01 14:21:52 +00:00

Add reload_db option to databaseReset.py

This commit is contained in:
expoonserver 2019-03-26 23:59:13 +00:00
parent f8be510509
commit ddb62f2897

View File

@ -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()