diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2025-07-27 07:28:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-27 07:28:20 +0200 |
| commit | 731ac2868e30dbccf5771abf79564d8bab1156c2 (patch) | |
| tree | 29f3de6e7694b8ce1cac19756e4f143fd29e8bcd /lib/inx/outputs.py | |
| parent | 4dd03c18acbec4c44943c224ea9b66e262e9fd76 (diff) | |
rename pyembroidery to pystitch (#3889)
... and remove it as a submodule (use pip to install)
Diffstat (limited to 'lib/inx/outputs.py')
| -rw-r--r-- | lib/inx/outputs.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/inx/outputs.py b/lib/inx/outputs.py index 0cf9ac84..51907f79 100644 --- a/lib/inx/outputs.py +++ b/lib/inx/outputs.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_output_formats(): - for format in pyembroidery.supported_formats(): +def pystitch_output_formats(): + for format in pystitch.supported_formats(): if 'writer' in format: description = format['description'] if format['category'] == "color": @@ -30,6 +30,6 @@ def generate_output_inx_files(alter_data): env = build_environment() template = env.get_template('output.xml') - for format, description, mimetype, category in pyembroidery_output_formats(): + for format, description, mimetype, category in pystitch_output_formats(): name = f"output_{format.upper()}" write_inx_file(name, template.render(alter_data, format=format, mimetype=mimetype, description=description)) |
