* src/ArgHandler.py: Fixes.

* src/gramps_main.py: Don't show topWindow until ArgHandler is done.
* src/plugins/Summary.py: Fixes.


svn: r3224
This commit is contained in:
Alex Roitman
2004-06-21 23:22:55 +00:00
parent 383a0a6f2c
commit 6da362e2fa
4 changed files with 14 additions and 3 deletions

View File

@@ -78,7 +78,10 @@ def build_report(database,person):
notfound.append(photo.get_path())
for person_id in personList:
length = len(person.get_media_list())
person = database.try_to_find_person_from_id(person_id)
if not person:
continue
length = len(person.get_media_list())
if length > 0:
with_photos = with_photos + 1
total_photos = total_photos + length