* src/plugins/WriteGedcom.py: Fixed undefined reference to ref_text

svn: r2202
This commit is contained in:
Don Allingham 2003-10-07 01:41:09 +00:00
parent d2dde84a4a
commit d29d21d912

View File

@ -1144,6 +1144,7 @@ class GedcomWriter:
else: else:
self.writeln("") self.writeln("")
if ref.getText(): if ref.getText():
ref_text = ref.getText()
self.write_long_text("TEXT",level+1,self.cnvtxt(ref_text)) self.write_long_text("TEXT",level+1,self.cnvtxt(ref_text))
if ref.getComments(): if ref.getComments():