7152: Fix error when importing database from the CLI

This commit is contained in:
Nick Hall 2014-05-20 13:26:53 +01:00
parent d01a33d382
commit 4f7f2db4ef

View File

@ -553,12 +553,6 @@ class ArgHandler(object):
import_function = plugin.get_import_function()
import_function(self.dbstate.db, filename, self.user)
if not self.cl:
if self.imp_db_path:
return self.sm.open_activate(self.imp_db_path)
else:
return self.sm.open_activate(self.open)
#-------------------------------------------------------------------------
#
# Export handler