summaryrefslogtreecommitdiffstats
path: root/databaseReset.py
diff options
context:
space:
mode:
authorSam Wenham <sam@wenhams.co.uk>2019-04-19 22:52:54 +0100
committerSam Wenham <sam@wenhams.co.uk>2019-04-19 22:52:54 +0100
commitb42249890e83fafdfd2f2918cd80f4621252f7ab (patch)
treef069b8ebc452437ebb09fca8f343be6e4e0e6cee /databaseReset.py
parentcc313246bb50fa8851fe65b1511101060206cd79 (diff)
downloadtroggle-b42249890e83fafdfd2f2918cd80f4621252f7ab.tar.gz
troggle-b42249890e83fafdfd2f2918cd80f4621252f7ab.tar.bz2
troggle-b42249890e83fafdfd2f2918cd80f4621252f7ab.zip
Updating caves and entrances is no longer nuclear!
Big overhaul of people processing, fullname added to the model lastname is now names -1 unless you only have one (yes you Wookey) this allows for Jon Arne Toft and Wookey to live it the same DB names can now have html chars in them, this should be real unicode but that can only happen when we go to Python 3!
Diffstat (limited to 'databaseReset.py')
-rw-r--r--databaseReset.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/databaseReset.py b/databaseReset.py
index 7a5d0fa..fd9b83a 100644
--- a/databaseReset.py
+++ b/databaseReset.py
@@ -42,7 +42,7 @@ def make_dirs():
def import_caves():
import parsers.caves
- print("importing caves")
+ print("Importing Caves")
parsers.caves.readcaves()
def import_people():
@@ -195,9 +195,6 @@ if __name__ == "__main__":
elif "scans" in sys.argv:
import_surveyscans()
elif "caves" in sys.argv:
- # reload_db()
- # make_dirs()
- # pageredirects()
import_caves()
elif "people" in sys.argv:
import_people()