Fix printing title etc.
[youtube-dl] / youtube_dl / InfoExtractors.py
index 5c5430ad5e0fcfa211118aa4e318d0c2f6f72f48..94803aa95bc834c6454c32ad595f7ce256a7db93 100644 (file)
@@ -339,7 +339,7 @@ class YoutubeIE(InfoExtractor):
                                return
                if 'token' not in video_info:
                        if 'reason' in video_info:
-                               self._downloader.trouble(u'ERROR: YouTube said: %s' % video_info['reason'][0].decode('utf-8'))
+                               self._downloader.trouble(u'ERROR: YouTube said: %s' % video_info['reason'][0])
                        else:
                                self._downloader.trouble(u'ERROR: "token" parameter not in video info for unknown reason')
                        return