From 23cd9319f6732e9fe1e6f3287f358d61ef765192 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Thu, 15 Jun 2006 16:46:12 +0000 Subject: [PATCH] * src/GrampsDb/_WriteGedcom.py (write_photo): Typo. svn: r6893 --- ChangeLog | 1 + src/GrampsDb/_WriteGedcom.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 11677462e..4ff3ad93f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,5 @@ 2006-06-15 Alex Roitman + * src/GrampsDb/_WriteGedcom.py (write_photo): Typo. * src/Exporter.py (build_options): Correctly shift all pages. 2006-06-14 Don Allingham diff --git a/src/GrampsDb/_WriteGedcom.py b/src/GrampsDb/_WriteGedcom.py index a298b9c5c..94884ff0b 100644 --- a/src/GrampsDb/_WriteGedcom.py +++ b/src/GrampsDb/_WriteGedcom.py @@ -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 ()