summaryrefslogtreecommitdiff
path: root/lib/inx/extensions.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/inx/extensions.py')
-rwxr-xr-xlib/inx/extensions.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/inx/extensions.py b/lib/inx/extensions.py
index d69f0d75..cab1ece6 100755
--- a/lib/inx/extensions.py
+++ b/lib/inx/extensions.py
@@ -5,14 +5,14 @@
import os
-import pyembroidery
+import pystitch
from ..commands import (COMMANDS, GLOBAL_COMMANDS, LAYER_COMMANDS,
OBJECT_COMMANDS)
from ..extensions import Input, Output, extensions
from ..lettering.categories import FONT_CATEGORIES
from ..threads import ThreadCatalog
-from .outputs import pyembroidery_output_formats
+from .outputs import pystitch_output_formats
from .utils import build_environment, write_inx_file
@@ -31,8 +31,8 @@ def object_commands():
return [(command, COMMANDS[command]) for command in OBJECT_COMMANDS]
-def pyembroidery_debug_formats():
- for format in pyembroidery.supported_formats():
+def pystitch_debug_formats():
+ for format in pystitch.supported_formats():
if 'writer' in format and format['category'] not in ['embroidery', 'image', 'color', 'stitch']:
yield format['extension'], format['description']
@@ -55,8 +55,8 @@ def generate_extension_inx_files(alter_data):
name = extension.name()
template = env.get_template(f'{name}.xml')
write_inx_file(name, template.render(alter_data,
- formats=pyembroidery_output_formats(),
- debug_formats=pyembroidery_debug_formats(),
+ formats=pystitch_output_formats(),
+ debug_formats=pystitch_debug_formats(),
threadcatalog=threadcatalog(),
font_categories=FONT_CATEGORIES,
layer_commands=layer_commands(),