This commit is contained in:
substantialnoninfringinguser 2009-05-21 20:17:07 +01:00
parent 54a62999c0
commit 2dfcfb6ffa

View File

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