diff options
| author | Lex Neva <github.com@lexneva.name> | 2019-02-22 22:07:15 -0500 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2019-03-08 19:57:11 -0500 |
| commit | 4ba3cd708561870a731d9634d9cdd5c18579cac7 (patch) | |
| tree | cd901daa9bd9f1901f3dbbca57940a981215267d /lib/extensions/auto_satin.py | |
| parent | 3611e2340997b917cc89e7d405b3c7d9bc86aab5 (diff) | |
refactor add_commands() out into commands module
Diffstat (limited to 'lib/extensions/auto_satin.py')
| -rw-r--r-- | lib/extensions/auto_satin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/extensions/auto_satin.py b/lib/extensions/auto_satin.py index f846ac6b..90d8fe33 100644 --- a/lib/extensions/auto_satin.py +++ b/lib/extensions/auto_satin.py @@ -2,6 +2,7 @@ import sys import inkex +from ..commands import add_commands from ..elements import SatinColumn from ..i18n import _ from ..stitches.auto_satin import auto_satin @@ -97,6 +98,5 @@ class AutoSatin(CommandsExtension): def add_trims(self, new_elements, trim_indices): if self.options.trim and trim_indices: - self.ensure_symbol("trim") for i in trim_indices: - self.add_commands(new_elements[i], ["trim"]) + add_commands(new_elements[i], ["trim"]) |
