2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-22 15:21:52 +00:00
This commit is contained in:
substantialnoninfringinguser 2009-05-21 20:17:07 +01:00
parent 891b3abb44
commit 3d8a6fb55a

View File

@ -22,12 +22,13 @@ def reload_db():
def make_dirs():
"""Make directories that troggle requires"""
#should also deal with permissions here.
if not os.path.isdir(settings.PHOTOS_ROOT):
os.mkdir(settings.PHOTOS_ROOT)
def import_cavetab():
import parsers.cavetab
parsers.cavetab.LoadCaveTab(logfile=settings.LOGFILE)
parsers.cavetab.LoadCaveTab()
def import_people():
import parsers.people