* src/GrampsDb/_WriteGedcom.py (write_photo): Typo.

svn: r6893
This commit is contained in:
Alex Roitman 2006-06-15 16:46:12 +00:00
parent 0ba1aa309c
commit ad07424022
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,5 @@
2006-06-15 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_WriteGedcom.py (write_photo): Typo.
* src/Exporter.py (build_options): Correctly shift all pages.
2006-06-14 Don Allingham <don@gramps-project.org>

View File

@ -1369,8 +1369,8 @@ class GedcomWriter(UpdateCallback):
photo_obj = self.db.get_object_from_handle(photo_obj_id)
if photo_obj:
mime = photo_obj.get_mime_type()
if self.mime2ged.has_key(mime):
form = self.mime2ged[mime]
if mime2ged.has_key(mime):
form = mime2ged[mime]
else:
form = mime
path = photo_obj.get_path ()