diff options
Diffstat (limited to 'lib/inx/inputs.py')
| -rwxr-xr-x | lib/inx/inputs.py | 8 |
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)) |
