Fix import after removal of is_empty method

This commit is contained in:
Nick Hall 2016-12-06 18:06:59 +00:00
parent 61da801fa1
commit 467f779230

View File

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