Skip to content

Commit

Permalink
downloadTask: fix downloadFailed error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Taapat committed Jul 9, 2020
1 parent c6989a1 commit c66b069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/YouTubeDownload.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def mergeCompleted(self, result, retval, extra_args):
print('[YouTube] Error delete file:', e)

def downloadFailed(self, reason, status):
print('[YouTube] Video download failed', str(error_message))
print('[YouTube] Video download failed', str(reason))
Task.processFinished(self, 1)
self.downloadStop()

Expand Down

0 comments on commit c66b069

Please sign in to comment.