Add reload_db option to databaseReset.py

This commit is contained in:
expoonserver 2019-03-26 23:59:13 +00:00
parent 8b5f81c8f8
commit 1e26578305

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