Merge pull request #156 from prculley/bug9459

bug 9459 GEDCOM import in CLI mode with .ged file containing ANSEL en…
This commit is contained in:
Doug Blank 2016-05-24 10:53:00 -04:00
commit e30f4e329b

View File

@ -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)