tooling: python3-ify misc/glyphs-scripts/adjust-box-width.py
This commit is contained in:
parent
cce4f42aca
commit
633839ad55
1 changed files with 1 additions and 2 deletions
|
|
@ -1,6 +1,5 @@
|
||||||
#MenuTitle: Adjust glyph box width
|
#MenuTitle: Adjust glyph box width
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
from __future__ import print_function
|
|
||||||
import GlyphsApp
|
import GlyphsApp
|
||||||
from math import ceil, floor
|
from math import ceil, floor
|
||||||
from os.path import basename
|
from os.path import basename
|
||||||
|
|
@ -105,7 +104,7 @@ class Script( object ):
|
||||||
sender.enable(False)
|
sender.enable(False)
|
||||||
if performFontChanges(self.action1):
|
if performFontChanges(self.action1):
|
||||||
self.w.close()
|
self.w.close()
|
||||||
except Exception, e:
|
except Exception(e):
|
||||||
Glyphs.showMacroWindow()
|
Glyphs.showMacroWindow()
|
||||||
print("error: %s" % e)
|
print("error: %s" % e)
|
||||||
finally:
|
finally:
|
||||||
|
|
|
||||||
Reference in a new issue