summaryrefslogtreecommitdiff
path: root/lib/lettering
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2023-06-12 18:21:03 +0200
committerGitHub <noreply@github.com>2023-06-12 18:21:03 +0200
commitaee7e2f626574e4751f197c35268684cbf5ddee0 (patch)
tree0903a5a38847436b276b2686f30b99eb440ab141 /lib/lettering
parent7f7d66e51e00e2d32dca857a176d7d80715e9d49 (diff)
ignore broken commmands (#2365)
Diffstat (limited to 'lib/lettering')
-rw-r--r--lib/lettering/glyph.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lettering/glyph.py b/lib/lettering/glyph.py
index fd97885b..0b916fc0 100644
--- a/lib/lettering/glyph.py
+++ b/lib/lettering/glyph.py
@@ -103,7 +103,7 @@ class Glyph(object):
self.commands[command_object].append([connector.get_id(), node.get_id()])
except KeyError:
self.commands[command_object] = [[connector.get_id(), node.get_id()]]
- except IndexError:
+ except (IndexError, TypeError):
pass
def _move_to_origin(self):