fix: replace underscores from macro source tags with spaces

This allows macro source tags that contain underscores and category parentheses to be processed as intended (e.g. booru tags)
This commit is contained in:
Travis Abendshien
2025-03-05 21:46:26 -08:00
parent 9b625b07a3
commit 5384f308ac

View File

@@ -1146,6 +1146,7 @@ class QtDriver(DriverMixin, QObject):
for string in result.tag_strings:
if not string.strip():
continue
string = string.replace("_", " ")
base_and_parent = string.split("(")
parent = ""
base = base_and_parent[0].strip(" ")