Skip to content

Commit

Permalink
202204130004
Browse files Browse the repository at this point in the history
  • Loading branch information
Samueli924 committed Apr 13, 2022
1 parent bef74d1 commit c14240c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ def do_work(chaoxingAPI):
attachment['objectId'],
attachments['defaults']['fid']
)
if "duration" not in video_info or "jobid" not in attachment:
continue

chaoxingAPI.pass_video(
video_info['duration'],
attachments['defaults']['cpi'],
Expand Down

0 comments on commit c14240c

Please sign in to comment.