2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-03-26 20:21:49 +00:00

Change databasereset to use 'caves' instead of 'cavesnew' for reloading the cave database

This commit is contained in:
expo 2014-07-28 00:18:10 +01:00
parent 4a3d181097
commit 94c44b0d7b

@ -167,7 +167,7 @@ def usage():
where command is: where command is:
reset - this is normal usage, clear database and reread everything reset - this is normal usage, clear database and reread everything
desc desc
cavesnew - read in the caves caves - read in the caves
logbooks - read in the logbooks logbooks - read in the logbooks
autologbooks autologbooks
dumplogbooks dumplogbooks
@ -188,7 +188,7 @@ if __name__ == "__main__":
resetdesc() resetdesc()
elif "scans" in sys.argv: elif "scans" in sys.argv:
import_surveyscans() import_surveyscans()
elif "cavesnew" in sys.argv: elif "caves" in sys.argv:
reload_db() reload_db()
make_dirs() make_dirs()
pageredirects() pageredirects()