Fix import after removal of is_empty method
This commit is contained in:
parent
61da801fa1
commit
467f779230
@ -487,7 +487,7 @@ class GrampsParser(UpdateCallback):
|
||||
# Similarly, if the data is imported into an empty family tree, we also
|
||||
# import the Researcher; if the tree was not empty, the existing
|
||||
# Researcher is retained
|
||||
self.import_researcher = self.db.is_empty()
|
||||
self.import_researcher = self.db.get_total() == 0
|
||||
self.ord = None
|
||||
self.objref = None
|
||||
self.object = None
|
||||
|
Loading…
Reference in New Issue
Block a user