Sanitize hard pair scene continuity

This commit is contained in:
2026-06-27 15:36:57 +02:00
parent bb7df8ad77
commit d0f2670d9c
5 changed files with 61 additions and 5 deletions
+2 -2
View File
@@ -320,9 +320,9 @@ def insta_of_pair_from_row_result(
hard_row_for_text = dict(hard_row)
options = row.get("options")
if isinstance(options, dict) and options.get("continuity") == "same_creator_same_room":
if soft_row.get("scene_text"):
if not hard_row_for_text.get("scene_text") and soft_row.get("scene_text"):
hard_row_for_text["scene_text"] = soft_row["scene_text"]
if soft_row.get("composition"):
if not hard_row_for_text.get("composition") and soft_row.get("composition"):
hard_row_for_text["composition"] = soft_row["composition"]
include_soft = pair_target.include_softcore