From 7f523f167de8bb8b53eb77971e0a74d699c5c274 Mon Sep 17 00:00:00 2001 From: Will Miao <13051207myq@gmail.com> Date: Wed, 25 Jun 2025 15:57:14 +0800 Subject: [PATCH] fix: correct indentation for appending lora_entry in CivitaiApiMetadataParser. Fixes #253 --- py/recipes/parsers/civitai_image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/recipes/parsers/civitai_image.py b/py/recipes/parsers/civitai_image.py index e43afc48..fb73eedc 100644 --- a/py/recipes/parsers/civitai_image.py +++ b/py/recipes/parsers/civitai_image.py @@ -235,7 +235,7 @@ class CivitaiApiMetadataParser(RecipeMetadataParser): except Exception as e: logger.error(f"Error fetching Civitai info for model ID {model_id}: {e}") - result["loras"].append(lora_entry) + result["loras"].append(lora_entry) # If base model wasn't found earlier, use the most common one from LoRAs if not result["base_model"] and base_model_counts: