Deduplicate pair caption cast descriptors
This commit is contained in:
@@ -363,12 +363,11 @@ def insta_of_pair_from_row_result(
|
||||
same_soft_cast = options.get("softcore_cast") == "same_as_hardcore"
|
||||
|
||||
parts = []
|
||||
if cast_descriptor_text and same_soft_cast:
|
||||
parts.append(deps.natural_cast_descriptor_text(cast_descriptor_text))
|
||||
elif descriptor:
|
||||
parts.append(f"A {descriptor}")
|
||||
if cast_descriptor_text and not same_soft_cast:
|
||||
parts.append(deps.natural_cast_descriptor_text(cast_descriptor_text))
|
||||
if not soft_text and not hard_text:
|
||||
if cast_descriptor_text:
|
||||
parts.append(deps.natural_cast_descriptor_text(cast_descriptor_text))
|
||||
elif descriptor:
|
||||
parts.append(f"A {descriptor}")
|
||||
if same_soft_cast and include_soft:
|
||||
parts.append(
|
||||
deps.softcore_caption_setup_phrase(
|
||||
|
||||
Reference in New Issue
Block a user