mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +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
|
item_data["frameStart"] = frame_in
|
||||||
# Frames duration, fallback on 0
|
# Frames duration, fallback on 0
|
||||||
try:
|
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))
|
frames_duration = int(item.get("nb_frames", 0))
|
||||||
except (TypeError, ValueError):
|
except (TypeError, ValueError):
|
||||||
frames_duration = 0
|
frames_duration = 0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue