diff --git a/client/ayon_resolve/api/lib.py b/client/ayon_resolve/api/lib.py index eee403ca1d..5beb3ddd6d 100644 --- a/client/ayon_resolve/api/lib.py +++ b/client/ayon_resolve/api/lib.py @@ -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)