Skip to content

Commit

Permalink
fix functions.time.sleep bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Samueli924 committed Apr 24, 2022
1 parent 9982a7b commit c9be279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def do_work(chaoxingAPI):
if attachment.get('isPassed'):
print("当前视频任务已完成")
ft.show_progress(attachment['property']['name'], 1, 1, 1)
ft.time.sleep(1)
time.sleep(1)
continue
video_info = chaoxingAPI.get_d_token(
attachment['objectId'],
Expand Down

0 comments on commit c9be279

Please sign in to comment.