Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
d0u9 committed Apr 25, 2018
1 parent 9f534bf commit 0548e71
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion youtube_dl_webui/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,10 @@ def event_progress(cls, svr, event, data, arg):
@classmethod
def event_worker_done(cls, svr, event, data, arg):
tid, data = data['tid'], data['data']
cls._task_mgr.finish_task(tid)
try:
cls._task_mgr.finish_task(tid)
except TaskInexistenceError:
cls.logger.error('Cannot finish, task does not exist')


def load_conf_from_file(cmd_args):
Expand Down

0 comments on commit 0548e71

Please sign in to comment.