Update strip iteration suffix behavior
This commit is contained in:
+1
-4
@@ -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}"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user