* 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 463d8be93d
commit 2e629a92e8

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():