This commit is contained in:
Behdad Esfahbod 2013-12-07 16:06:10 -05:00
parent 3db5e11c1f
commit 6d658cf0ea

View File

@ -226,7 +226,7 @@ class Program(object):
return self.assembly
def toXML(self, writer, ttFont):
if hasattr (ttFont, "disassembleInstructions") and ttFont.disassembleInstructions:
if not hasattr (ttFont, "disassembleInstructions") or ttFont.disassembleInstructions:
assembly = self.getAssembly()
writer.begintag("assembly")
writer.newline()