Fixed format string in write_org

svn: r654
This commit is contained in:
Don Allingham 2001-12-23 01:42:17 +00:00
parent 36e3ceb7a8
commit 2e2057c632

View File

@ -921,7 +921,7 @@ class GedcomWriter:
if ord.getPlaceName() != "": if ord.getPlaceName() != "":
self.g.write("2 PLAC %s\n" % self.cnvtxt(ord.getPlaceName())) self.g.write("2 PLAC %s\n" % self.cnvtxt(ord.getPlaceName()))
if ord.getStatus() != 0: if ord.getStatus() != 0:
self.g.write("2 STAT %S\n" % self.cnvtxt(statlist[ord.getStatus()])) self.g.write("2 STAT %s\n" % self.cnvtxt(statlist[ord.getStatus()]))
if ord.getNote() != "": if ord.getNote() != "":
self.write_long_text("NOTE",index+1,ord.getNote()) self.write_long_text("NOTE",index+1,ord.getNote())
for srcref in ord.getSourceRefList(): for srcref in ord.getSourceRefList():