summaryrefslogtreecommitdiffstats
path: root/core/views_other.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/views_other.py')
-rw-r--r--core/views_other.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/views_other.py b/core/views_other.py
index 1297e7f..cc9782b 100644
--- a/core/views_other.py
+++ b/core/views_other.py
@@ -55,8 +55,9 @@ def controlPanel(request):
#importlist is mostly here so that things happen in the correct order.
#http post data seems to come in an unpredictable order, so we do it this way.
- importlist=['reload_db', 'import_people', 'import_cavetab', 'import_logbooks', 'import_surveys', 'import_QMs']
- databaseReset.make_dirs()
+ importlist=['reinit_db', 'import_people', 'import_caves', 'import_logbooks',
+ 'import_survexblks', 'import_QMs', 'import_survexpos', 'import_surveyscans', 'import_tunnelfiles']
+ databaseReset.dirsredirect()
for item in importlist:
if item in request.POST:
print("running"+ " databaseReset."+item+"()")