From 5fce41e53ced2cde6f2fae9616a83d1f5d27779f Mon Sep 17 00:00:00 2001 From: Legende <68666984+xLegende@users.noreply.github.com> Date: Mon, 9 Jun 2025 14:17:42 +0200 Subject: [PATCH] Update wildcard_importer.py typo --- wildcard_importer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wildcard_importer.py b/wildcard_importer.py index 0f704be..2aa8f4c 100644 --- a/wildcard_importer.py +++ b/wildcard_importer.py @@ -134,7 +134,7 @@ class WildcardImporter: try: # Sort categories alphabetically for consistent output sorted_yaml_data = dict(sorted(yaml_data.items())) - with open(output_path, 'w', encoding='utf--8') as f: + with open(output_path, 'w', encoding='utf-8') as f: yaml.dump(sorted_yaml_data, f, default_flow_style=False, sort_keys=False, allow_unicode=True) status_msg = f"Success! Processed {processed_count} wildcards. Added/updated {total_tags_added} tags in '{safe_output_filename}'." print(f"[Importer] {status_msg}") @@ -143,4 +143,4 @@ class WildcardImporter: print(f"[Importer] {status_msg}") return ("", status_msg, 0) - return (str(output_path), status_msg, processed_count) \ No newline at end of file + return (str(output_path), status_msg, processed_count)