From 4f7f2db4efa7a363f84d6781454a540c32c0ed3f Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Tue, 20 May 2014 13:26:53 +0100 Subject: [PATCH] 7152: Fix error when importing database from the CLI --- gramps/cli/arghandler.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gramps/cli/arghandler.py b/gramps/cli/arghandler.py index 862bd3c34..9a80c6687 100644 --- a/gramps/cli/arghandler.py +++ b/gramps/cli/arghandler.py @@ -552,12 +552,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) #------------------------------------------------------------------------- #