Update wildcard_importer.py
typo
This commit is contained in:
@@ -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)
|
||||
return (str(output_path), status_msg, processed_count)
|
||||
|
||||
Reference in New Issue
Block a user