7152: Fix error when importing database from the CLI
This commit is contained in:
parent
d01a33d382
commit
4f7f2db4ef
@ -552,12 +552,6 @@ class ArgHandler(object):
|
|||||||
if family_tree_format == plugin.get_extension():
|
if family_tree_format == plugin.get_extension():
|
||||||
import_function = plugin.get_import_function()
|
import_function = plugin.get_import_function()
|
||||||
import_function(self.dbstate.db, filename, self.user)
|
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)
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user