Update openpype/hosts/nuke/plugins/load/load_clip.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Jakub Ježek 2022-10-28 14:44:14 +02:00 committed by GitHub
parent c4fdf28d34
commit 9e0993a53d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,7 +91,7 @@ class LoadClip(plugin.NukeLoader):
frame = repre_cont.get("frame")
assert frame, "Representation is not sequence"
padding = len(frame)
padding = len(str(frame))
basename = basename.replace(frame, "#" * padding)
return os.path.join(dirname, basename).replace("\\", "/")