Update strip iteration suffix behavior

This commit is contained in:
2026-08-06 11:27:52 +00:00
parent 4dc0807b4c
commit 2babfbad73
3 changed files with 12 additions and 8 deletions
+1 -4
View File
@@ -254,10 +254,7 @@ def _strip_iteration_suffix(value):
if "_" not in root:
return value
prefix, suffix = root.rsplit("_", 1)
if not suffix.isdigit():
return value
prefix, _suffix = root.rsplit("_", 1)
return f"{prefix}{extension}"