mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
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:
parent
a8c219211d
commit
247db779fe
1 changed files with 4 additions and 3 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue