7784 "IndexError: list index out of range" on [initial CLI "gramps -t"]
This commit is contained in:
parent
e87ca38574
commit
c5d5285e7e
@ -420,6 +420,8 @@ class ArgHandler(object):
|
||||
if self.list_table:
|
||||
print(_('Gramps Family Trees:'))
|
||||
summary_list = self.dbman.family_tree_summary()
|
||||
if not summary_list:
|
||||
sys.exit(0)
|
||||
print(_("Family Tree"), end="")
|
||||
for key in sorted(summary_list[0]):
|
||||
if key != "Family Tree":
|
||||
|
Loading…
Reference in New Issue
Block a user