fontbuild: fix bug where if g.lib did not have com.schriftgestaltung.Glyphs.lastChange the program would crash
This commit is contained in:
parent
583bd89876
commit
e95089f58b
1 changed files with 2 additions and 1 deletions
|
|
@ -270,6 +270,7 @@ class Main(object):
|
|||
# unused
|
||||
stripGlyphs.append(g.name)
|
||||
g.clearAnchors()
|
||||
if 'com.schriftgestaltung.Glyphs.lastChange' in g.lib:
|
||||
del g.lib['com.schriftgestaltung.Glyphs.lastChange']
|
||||
|
||||
# update possibly modified glyphorder
|
||||
|
|
|
|||
Reference in a new issue