7152: Fix error when importing database from the CLI
This commit is contained in:
parent
89d6a819d7
commit
679dcf1b6e
@ -561,12 +561,6 @@ class ArgHandler(object):
|
|||||||
import_function = plugin.get_import_function()
|
import_function = plugin.get_import_function()
|
||||||
import_function(self.dbstate.db, filename, None)
|
import_function(self.dbstate.db, filename, None)
|
||||||
|
|
||||||
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
|
# Export handler
|
||||||
|
Loading…
Reference in New Issue
Block a user