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!
This commit is contained in:
Sam Wenham
2019-04-19 22:52:54 +01:00
parent cc313246bb
commit b42249890e
5 changed files with 55 additions and 34 deletions

View File

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