mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
line length
This commit is contained in:
parent
8f04c3351b
commit
0337403182
1 changed files with 2 additions and 1 deletions
|
|
@ -115,7 +115,8 @@ def update_op_assets(
|
|||
item_data["frameStart"] = frame_in
|
||||
# Frames duration, fallback on 0
|
||||
try:
|
||||
# NOTE nb_frames is stored directly in item because of zou's legacy design
|
||||
# NOTE nb_frames is stored directly in item because
|
||||
# of zou's legacy design
|
||||
frames_duration = int(item.get("nb_frames", 0))
|
||||
except (TypeError, ValueError):
|
||||
frames_duration = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue