summaryrefslogtreecommitdiffstats
path: root/databaseReset.py
diff options
context:
space:
mode:
Diffstat (limited to 'databaseReset.py')
-rw-r--r--databaseReset.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/databaseReset.py b/databaseReset.py
index 1a014b7..3fba913 100644
--- a/databaseReset.py
+++ b/databaseReset.py
@@ -175,7 +175,8 @@ def usage():
reset - this is normal usage, clear database and reread everything from files - time-consuming
desc - NOT WORKING: function resetdesc() missing
caves - read in the caves
- logbooks - read in the logbooks, but read in people first
+ folklog - read in the people (folk) and then the logbooks
+ logbooks - read in just the logbooks
autologbooks - read in autologbooks
dumplogbooks - write out autologbooks (not working?)
people - read in the people from folk.csv
@@ -201,6 +202,9 @@ if __name__ == "__main__":
import_caves()
elif "people" in sys.argv:
import_people()
+ elif "folklogs" in sys.argv:
+ import_people()
+ import_logbooks()
elif "QMs" in sys.argv:
import_QMs()
elif "tunnel" in sys.argv: