bug 9459 GEDCOM import in CLI mode with .ged file containing ANSEL encoding tries to pop up gui

This commit is contained in:
prculley
2016-05-24 08:56:19 -05:00
parent 6c2eac9e05
commit 7d2a7b71d0

View File

@@ -88,7 +88,7 @@ def importData(database, filename, user):
except IOError: except IOError:
return return
if not gramps and ansel: if not gramps and ansel and user.uistate:
top = Glade() top = Glade()
code = top.get_object('codeset') code = top.get_object('codeset')
code.set_active(0) code.set_active(0)