[francetelevisions] fix info command in interactive mode

This commit is contained in:
Bezleputh 2014-05-05 16:29:31 +02:00
commit 9f1314b404

View file

@ -48,7 +48,7 @@ class PluzzBackend(BaseBackend, ICapVideo, ICapCollection):
# if we don't want only the thumbnail, we probably want also every fields
video = self.browser.get_video(video.id, video)
if 'thumbnail' in fields and video.thumbnail:
video.thumbnail.data = self.browser.readurl(video.thumbnail.url)
video.thumbnail.data = self.browser.open(video.thumbnail.url).content
return video