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:
commit
e30f4e329b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user