Merge pull request #169 from prculley/bug9459_42
bug 9459 GEDCOM import in CLI mode with .ged file containing ANSEL encoding tries to pop up gui
This commit is contained in:
commit
dc77d95274
@ -89,7 +89,7 @@ def importData(database, filename, user):
|
||||
gramps = True
|
||||
ifile.close()
|
||||
|
||||
if not gramps and ansel:
|
||||
if not gramps and ansel and user.uistate:
|
||||
top = Glade()
|
||||
code = top.get_object('codeset')
|
||||
code.set_active(0)
|
||||
|
Loading…
Reference in New Issue
Block a user