tooling: python3-ify misc/glyphs-scripts/adjust-box-width.py

This commit is contained in:
Rasmus Andersson 2022-05-20 10:33:34 -07:00
parent cce4f42aca
commit 633839ad55

View file

@ -1,6 +1,5 @@
#MenuTitle: Adjust glyph box width
# -*- coding: utf-8 -*-
from __future__ import print_function
import GlyphsApp
from math import ceil, floor
from os.path import basename
@ -105,7 +104,7 @@ class Script( object ):
sender.enable(False)
if performFontChanges(self.action1):
self.w.close()
except Exception, e:
except Exception(e):
Glyphs.showMacroWindow()
print("error: %s" % e)
finally: