Fix error message

This commit is contained in:
Ivan Habunek 2020-04-12 11:44:01 +02:00
parent 5e97b439a7
commit c628757ac0
No known key found for this signature in database
GPG Key ID: CDBD63C43A30BB95

View File

@ -134,7 +134,7 @@ def download(video, **kwargs):
video_id = match.group('id')
return _download_video(video_id, **kwargs)
raise ConsoleError("Invalid video: {}".format(video_id))
raise ConsoleError("Invalid video: {}".format(video))
def _download_clip(slug, **kwargs):