Skip to content

Commit

Permalink
Merge branch 'develop' into enhancement/AY-5780_Resolve-enhancing-edi…
Browse files Browse the repository at this point in the history
…torial-pkg-loader
  • Loading branch information
jakubjezek001 authored Aug 5, 2024
2 parents 0bd5eb5 + 09b97ae commit 74bba1d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion client/ayon_resolve/api/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,11 @@ def create_timeline_item(
timeline = timeline or get_current_timeline()

# timing variables
if all([timeline_in, source_start, source_end]):
if all([
timeline_in is not None,
source_start is not None,
source_end is not None
]):
fps = timeline.GetSetting("timelineFrameRate")
duration = source_end - source_start
timecode_in = frames_to_timecode(timeline_in, fps)
Expand Down

0 comments on commit 74bba1d

Please sign in to comment.