diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index fe73cc11c..d7d614afc 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -780,7 +780,7 @@ class ContentTooShortError(YoutubeDLError): def __init__(self, downloaded, expected): super(ContentTooShortError, self).__init__( - 'Downloaded {} bytes, expected {} bytes'.format(downloaded, expected) + 'Downloaded {0} bytes, expected {1} bytes'.format(downloaded, expected) ) # Both in bytes self.downloaded = downloaded