summaryrefslogtreecommitdiff
path: root/lib/inx/inputs.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2025-07-27 07:28:20 +0200
committerGitHub <noreply@github.com>2025-07-27 07:28:20 +0200
commit731ac2868e30dbccf5771abf79564d8bab1156c2 (patch)
tree29f3de6e7694b8ce1cac19756e4f143fd29e8bcd /lib/inx/inputs.py
parent4dd03c18acbec4c44943c224ea9b66e262e9fd76 (diff)
rename pyembroidery to pystitch (#3889)
... and remove it as a submodule (use pip to install)
Diffstat (limited to 'lib/inx/inputs.py')
-rwxr-xr-xlib/inx/inputs.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/inx/inputs.py b/lib/inx/inputs.py
index cd8b57bd..667f71c9 100755
--- a/lib/inx/inputs.py
+++ b/lib/inx/inputs.py
@@ -3,13 +3,13 @@
# Copyright (c) 2010 Authors
# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details.
-import pyembroidery
+import pystitch
from .utils import build_environment, write_inx_file
-def pyembroidery_input_formats():
- for format in pyembroidery.supported_formats():
+def pystitch_input_formats():
+ for format in pystitch.supported_formats():
if 'reader' in format and format['category'] in ['embroidery', 'color', 'stitch', 'quilting', 'debug']:
yield format['extension'], format['description']
@@ -18,6 +18,6 @@ def generate_input_inx_files(alter_data):
env = build_environment()
template = env.get_template('input.xml')
- for format, description in pyembroidery_input_formats():
+ for format, description in pystitch_input_formats():
name = f"input_{format.upper()}"
write_inx_file(name, template.render(alter_data, format=format, description=description))