diff --git a/kapitanbooru_uploader/Core.py b/kapitanbooru_uploader/Core.py index 073113c..af58387 100644 --- a/kapitanbooru_uploader/Core.py +++ b/kapitanbooru_uploader/Core.py @@ -35,7 +35,7 @@ class Core: """ def __init__(self, settings: Settings, gui_mode: bool = True): - self.version = "0.9.7" + self.version = "0.9.8" self.acknowledged_version = parse_version(self.version) self.settings = settings self.tags_repo = TagsRepo(settings) diff --git a/kapitanbooru_uploader/locales/en/LC_MESSAGES/messages.po b/kapitanbooru_uploader/locales/en/LC_MESSAGES/messages.po index c52471f..d2a0e1a 100644 --- a/kapitanbooru_uploader/locales/en/LC_MESSAGES/messages.po +++ b/kapitanbooru_uploader/locales/en/LC_MESSAGES/messages.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"Project-Id-Version: Kapitanbooru Uploader 0.9.7\n" +"Project-Id-Version: Kapitanbooru Uploader 0.9.8\n" "Report-Msgid-Bugs-To: kapitan@mlesniak.pl\n" "POT-Creation-Date: 2025-06-26 18:21+0200\n" "Content-Type: text/plain; charset=UTF-8\n" diff --git a/kapitanbooru_uploader/locales/pl/LC_MESSAGES/messages.po b/kapitanbooru_uploader/locales/pl/LC_MESSAGES/messages.po index e8c3f9c..1cc4f62 100644 --- a/kapitanbooru_uploader/locales/pl/LC_MESSAGES/messages.po +++ b/kapitanbooru_uploader/locales/pl/LC_MESSAGES/messages.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"Project-Id-Version: Kapitanbooru Uploader 0.9.7\n" +"Project-Id-Version: Kapitanbooru Uploader 0.9.8\n" "Report-Msgid-Bugs-To: kapitan@mlesniak.pl\n" "POT-Creation-Date: 2025-06-26 18:21+0200\n" "Language: pl\n" diff --git a/kapitanbooru_uploader/tag_processing.py b/kapitanbooru_uploader/tag_processing.py index 1e27062..06dedd1 100644 --- a/kapitanbooru_uploader/tag_processing.py +++ b/kapitanbooru_uploader/tag_processing.py @@ -221,11 +221,14 @@ def parse_parameters(param_str:str, tags_repo: TagsRepo) -> str: for lora_match in LORAHASH_PATTERN.finditer(lora_hashes): lora_name = lora_match.group("name").strip() if lora_name: - if lora_name=="ElfIL" and "e_lf": + if lora_name=="ElfIL" and "e_lf" in tags: tags.discard("e_lf") tags.add("reanette_elfelt") elif lora_name=="Illustrious_Mikuneki_Style": tags.add("mikuneki") + elif lora_name=="konosuba-claire-s3-illustriousxl-lora-nochekaiser" and any(tag in tags for tag in ["claire", "claire_(konosuba)"]): + tags.discard("claire") + tags.add("claire_(konosuba)") tags = set([WHITESPACE_PATTERN.sub("_", param.strip()) for param in tags]) tags = set( [ diff --git a/pyproject.toml b/pyproject.toml index edde9a6..ddf1ff5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "kapitanbooru-uploader" -version = "0.9.7" +version = "0.9.8" description = "A GUI application for uploading images to KapitanBooru" authors = [{ name = "Michał Leśniak", email = "kapitan@mlesniak.pl" }] dependencies = [