diff options
| author | karnigen <karnigen@gmail.com> | 2024-02-09 14:29:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-09 14:29:06 +0100 |
| commit | e64737382ce749af2db48c9cfd17de7b644429f5 (patch) | |
| tree | a12d11f15c1de7a9731eeca8bdd3af53ba2164a2 /lib/inx/info.py | |
| parent | b4f1fb8e8c98be02579bc31343784d70c43c4f48 (diff) | |
| parent | fdc73762adf3989b6c2a77646dc08da72e6c0681 (diff) | |
Merge pull request #2715 from inkstitch/kgn/inkstitch-multiversion-support
Kgn/inkstitch multiversion support
Diffstat (limited to 'lib/inx/info.py')
| -rwxr-xr-x | lib/inx/info.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/inx/info.py b/lib/inx/info.py index 3a69adad..dc80c3eb 100755 --- a/lib/inx/info.py +++ b/lib/inx/info.py @@ -6,9 +6,9 @@ from .utils import build_environment, write_inx_file -def generate_info_inx_files(): +def generate_info_inx_files(alter_data): env = build_environment() info_inx_files = ['about', 'embroider'] for info in info_inx_files: - template = env.get_template('%s.xml' % info) - write_inx_file(info, template.render()) + template = env.get_template(f'{info}.xml') + write_inx_file(info, template.render(alter_data)) |
