forked from expo/troggle
[svn]
This commit is contained in:
parent
891b3abb44
commit
3d8a6fb55a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user