bugfix: Patch writer - handle filenames which are only numeric

This commit is contained in:
torzdf 2024-01-10 13:05:35 +00:00
parent 2a3845152b
commit b25f48431d

View File

@ -95,6 +95,8 @@ class Writer(Output):
"""
face_idx = str(face_index).rjust(2, "0")
fname, ext = os.path.splitext(filename)
fname = os.path.basename(fname)
split_fname = fname.rsplit("_", 1)
if split_fname[-1].isdigit():
i_frame_no = (int(split_fname[-1]) +