A simple, conservative probably_alive
svn: r13951
This commit is contained in:
parent
7aef74eaca
commit
eba1c9d264
@ -96,8 +96,7 @@ def export_all(database, filename, option_box=None, callback=None):
|
|||||||
dji.add_person(data)
|
dji.add_person(data)
|
||||||
elif step == 1:
|
elif step == 1:
|
||||||
djperson = dji.add_person_detail(data)
|
djperson = dji.add_person_detail(data)
|
||||||
person = database.get_person_from_handle(person_handle)
|
djperson.probably_alive = not bool(djperson.death)
|
||||||
djperson.probably_alive = probably_alive(person, database)
|
|
||||||
djperson.save()
|
djperson.save()
|
||||||
count += 1
|
count += 1
|
||||||
callback(100 * count/total)
|
callback(100 * count/total)
|
||||||
|
Loading…
Reference in New Issue
Block a user