Update openpype/hosts/traypublisher/plugins/publish/validate_frame_ranges.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Petr Kalis 2022-07-18 10:56:08 +02:00 committed by GitHub
parent a8c219211d
commit 247db779fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,9 +58,10 @@ class ValidateFrameRange(OptionalPyblishPluginMixin,
files = [files]
frames = len(files)
msg = "Frame duration from DB:'{}' ". format(int(duration)) +\
" doesn't match number of files:'{}'".format(frames) +\
" Please change frame range for Asset or limit no. of files"
msg = (
"Frame duration from DB:'{}' doesn't match number of files:'{}'"
" Please change frame range for Asset or limit no. of files"
). format(int(duration), frames)
formatting_data = {"duration": duration,
"found": frames}