Promote anal hardcore action routing

This commit is contained in:
2026-06-27 19:11:44 +02:00
parent 08627be954
commit 658743d876
8 changed files with 32 additions and 14 deletions
+3 -1
View File
@@ -12,6 +12,7 @@ try:
normalize_hardcore_detail_density,
)
from .hardcore_action_metadata import (
ACTION_ANAL,
ACTION_CLIMAX,
ACTION_FOREPLAY,
ACTION_MANUAL,
@@ -42,6 +43,7 @@ except ImportError: # Allows local smoke tests with `python -c`.
normalize_hardcore_detail_density,
)
from hardcore_action_metadata import (
ACTION_ANAL,
ACTION_CLIMAX,
ACTION_FOREPLAY,
ACTION_MANUAL,
@@ -156,7 +158,7 @@ def action_detail_for_family(
if family == ACTION_ORAL and role_graph:
detail = dedupe_oral_detail(detail, role_graph, hard_item, axis_values)
return "", limit_detail_for_density(detail, detail_density, False)
if family == ACTION_PENETRATION and role_graph:
if family in (ACTION_ANAL, ACTION_PENETRATION) and role_graph:
detail = dedupe_penetration_detail(detail, role_graph, hard_item, axis_values)
return "", limit_detail_for_density(detail, detail_density, False)