From fe318d77c3d8e1d3be157c8c0460acdf5e029e33 Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Sun, 26 May 2013 19:31:44 +0000 Subject: [PATCH] 6777: Crash on export to GEDCOM when there are addresses svn: r22424 --- gramps/plugins/export/exportgedcom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/plugins/export/exportgedcom.py b/gramps/plugins/export/exportgedcom.py index 9e92a896c..2b80ac30b 100644 --- a/gramps/plugins/export/exportgedcom.py +++ b/gramps/plugins/export/exportgedcom.py @@ -663,8 +663,8 @@ class GedcomWriter(UpdateCallback): """ for addr in person.get_address_list(): self._writeln(1, 'RESI') - self.__date(2, addr.get_date_object()) - self._write_addr(2, addr) + self._date(2, addr.get_date_object()) + self.__write_addr(2, addr) if addr.get_phone(): self._writeln(2, 'PHON', addr.get_phone())