summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/commands.py1
-rw-r--r--lib/output.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/commands.py b/lib/commands.py
index a9b97b35..3a4ca230 100644
--- a/lib/commands.py
+++ b/lib/commands.py
@@ -173,6 +173,7 @@ def global_commands(svg, command):
if standalone_command.command == command:
yield standalone_command
+
@cache
def global_command(svg, command):
"""Find a single command of the specified type.
diff --git a/lib/output.py b/lib/output.py
index 92f09963..d5c513e2 100644
--- a/lib/output.py
+++ b/lib/output.py
@@ -1,7 +1,5 @@
import pyembroidery
-import inkex
import simpletransform
-import shapely.geometry as shgeo
from .utils import Point
from .svg import PIXELS_PER_MM, get_doc_size, get_viewbox_transform