From eba1c9d2642f16c2e0fc4f24f6b5c83671aed418 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Fri, 1 Jan 2010 15:11:00 +0000 Subject: [PATCH] A simple, conservative probably_alive svn: r13951 --- src/plugins/export/ExportDjango.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/export/ExportDjango.py b/src/plugins/export/ExportDjango.py index e4a67bf85..125eef68d 100644 --- a/src/plugins/export/ExportDjango.py +++ b/src/plugins/export/ExportDjango.py @@ -96,8 +96,7 @@ def export_all(database, filename, option_box=None, callback=None): dji.add_person(data) elif step == 1: djperson = dji.add_person_detail(data) - person = database.get_person_from_handle(person_handle) - djperson.probably_alive = probably_alive(person, database) + djperson.probably_alive = not bool(djperson.death) djperson.save() count += 1 callback(100 * count/total)