diff --git a/gramps/cli/arghandler.py b/gramps/cli/arghandler.py index 95b9e83b5..e98dd3984 100644 --- a/gramps/cli/arghandler.py +++ b/gramps/cli/arghandler.py @@ -547,12 +547,6 @@ class ArgHandler(object): if family_tree_format == plugin.get_extension(): 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) #------------------------------------------------------------------------- #