Remove duplicate DailymotionVideo.id2url
It is already in the called function decorator
This commit is contained in:
parent
bd41a3b73e
commit
bcbccb4586
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ class DailymotionBackend(BaseBackend, ICapVideo, ICapCollection):
|
|||
if fields != ['thumbnail']:
|
||||
# if we don't want only the thumbnail, we probably want also every fields
|
||||
with self.browser:
|
||||
video = self.browser.get_video(DailymotionVideo.id2url(video.id), video)
|
||||
video = self.browser.get_video(video.id, video)
|
||||
if 'thumbnail' in fields and video.thumbnail:
|
||||
with self.browser:
|
||||
video.thumbnail.data = self.browser.readurl(video.thumbnail.url)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue