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 ea72b68532
commit d4750e7ce9

View File

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