forked from expo/troggle
update caves from new cave file format not cavetab2.csv
This commit is contained in:
parent
0d346c80f7
commit
f369f34c8f
@ -37,13 +37,6 @@ def make_dirs():
|
||||
if not os.path.isdir(settings.PHOTOS_ROOT):
|
||||
os.mkdir(settings.PHOTOS_ROOT)
|
||||
|
||||
|
||||
|
||||
def import_cavetab():
|
||||
import parsers.cavetab
|
||||
print "importing cavetab"
|
||||
parsers.cavetab.LoadCaveTab()
|
||||
|
||||
def import_caves():
|
||||
import parsers.caves
|
||||
print "importing caves"
|
||||
@ -101,7 +94,7 @@ def reset():
|
||||
reload_db()
|
||||
make_dirs()
|
||||
pageredirects()
|
||||
import_cavetab()
|
||||
import_caves()
|
||||
import_people()
|
||||
import_surveyscans()
|
||||
import_survex()
|
||||
@ -203,11 +196,6 @@ if __name__ == "__main__":
|
||||
resetdesc()
|
||||
elif "scans" in sys.argv:
|
||||
import_surveyscans()
|
||||
elif "caves" in sys.argv:
|
||||
reload_db()
|
||||
make_dirs()
|
||||
pageredirects()
|
||||
import_cavetab()
|
||||
elif "cavesnew" in sys.argv:
|
||||
reload_db()
|
||||
make_dirs()
|
||||
|
Loading…
Reference in New Issue
Block a user