From 7d2a7b71d04da2af6d30ec5c61a2b5651f521942 Mon Sep 17 00:00:00 2001 From: prculley Date: Tue, 24 May 2016 08:56:19 -0500 Subject: [PATCH] bug 9459 GEDCOM import in CLI mode with .ged file containing ANSEL encoding tries to pop up gui --- gramps/plugins/importer/importgedcom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/importer/importgedcom.py b/gramps/plugins/importer/importgedcom.py index 4a2b5a1df..482589b23 100644 --- a/gramps/plugins/importer/importgedcom.py +++ b/gramps/plugins/importer/importgedcom.py @@ -88,7 +88,7 @@ def importData(database, filename, user): except IOError: return - if not gramps and ansel: + if not gramps and ansel and user.uistate: top = Glade() code = top.get_object('codeset') code.set_active(0)