* src/ReportUtils.py (insert_images): Pass sizes to add_media_object;
(married_str): Quit if no spouse. svn: r4573
This commit is contained in:
parent
86634e3481
commit
d64b5bdc47
@ -7,7 +7,8 @@
|
||||
* src/plugins/Check.py (cleanup_missing_photos): Typo.
|
||||
* configure.in: Bump up the version number.
|
||||
* NEWS: Update.
|
||||
* src/ReportUtils.py (insert_images): Pass sizes to add_media_object.
|
||||
* src/ReportUtils.py (insert_images): Pass sizes to add_media_object;
|
||||
(married_str): Quit if no spouse.
|
||||
|
||||
2005-05-12 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||
* src/plugins/TestcaseGenerator.py: Added generation of multiple date
|
||||
|
@ -795,6 +795,10 @@ def married_str(database,person,spouse,event,endnotes=None,
|
||||
@rtype: unicode
|
||||
"""
|
||||
|
||||
# not all families have a spouse.
|
||||
if not spouse:
|
||||
return u""
|
||||
|
||||
if not endnotes:
|
||||
endnotes = empty_notes
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user