diff options
author | Rasmus Andersson <rasmus@notion.se> | 2022-05-20 20:33:34 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2022-05-20 20:36:25 +0300 |
commit | 633839ad550073f9d12e6cea7964a30523974b68 (patch) | |
tree | 3f2792ec75f0c002e3c5ae7db52e53aae2101984 /misc | |
parent | cce4f42aca53a99973bcc89408f9836ebf57a811 (diff) | |
download | inter-633839ad550073f9d12e6cea7964a30523974b68.tar.xz |
tooling: python3-ify misc/glyphs-scripts/adjust-box-width.py
Diffstat (limited to 'misc')
-rw-r--r-- | misc/glyphs-scripts/adjust-box-width.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/misc/glyphs-scripts/adjust-box-width.py b/misc/glyphs-scripts/adjust-box-width.py index 84613617e..1a95591c8 100644 --- a/misc/glyphs-scripts/adjust-box-width.py +++ b/misc/glyphs-scripts/adjust-box-width.py @@ -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: |