From 2de079da06abe6fec4161666e3a032ab82e26670 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Fri, 18 May 2012 11:33:52 +0000 Subject: [PATCH] Use correct User() for server svn: r19574 --- src/webapp/grampsdb/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/webapp/grampsdb/views.py b/src/webapp/grampsdb/views.py index 52e6420d6..8ee389689 100644 --- a/src/webapp/grampsdb/views.py +++ b/src/webapp/grampsdb/views.py @@ -351,7 +351,7 @@ def process_action(request, view, handle, action): import threading def background(): try: - import_file(db, filename, gui.user.User()) # callback + import_file(db, filename, cli.user.User()) # callback except: message = "import_file failed: " + traceback.format_exc() request.user.message_set.create(message = message) @@ -360,7 +360,7 @@ def process_action(request, view, handle, action): request.user.message_set.create(message = message) return redirect("/report/") else: - success = import_file(db, filename, gui.user.User()) # callback + success = import_file(db, filename, cli.user.User()) # callback if not success: message = "Failed to load imported." request.user.message_set.create(message = message)