From 487fdbd572e6ab31df4d6132b7524df3a6935d01 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Fri, 3 Aug 2001 03:46:36 +0000 Subject: [PATCH] Fixed DATE generation in a SOUR statement svn: r285 --- gramps/src/plugins/WriteGedcom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/src/plugins/WriteGedcom.py b/gramps/src/plugins/WriteGedcom.py index 5a5c5f385..629fc3ffa 100644 --- a/gramps/src/plugins/WriteGedcom.py +++ b/gramps/src/plugins/WriteGedcom.py @@ -345,7 +345,7 @@ def write_source_ref(g,level,ref): if ref_text != "": write_long_text(g,"TEXT",level+1,ref_text) if ref.getDate().getDate(): - g.write("%d DATE %s\n",ref.getDate().getSaveDate()) + g.write("%d DATE %s\n",level+1,ref.getDate().getSaveDate()) if ref.getComments() != "": write_long_text(g,"NOTE",level+1,ref.getComments())