From bcbccb458621e2c17eea465f1ec361f2ed45f331 Mon Sep 17 00:00:00 2001 From: Laurent Bachelier Date: Tue, 23 Oct 2012 04:17:08 +0200 Subject: [PATCH] Remove duplicate DailymotionVideo.id2url It is already in the called function decorator --- modules/dailymotion/backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/dailymotion/backend.py b/modules/dailymotion/backend.py index 96d189f0..46a7d1c1 100644 --- a/modules/dailymotion/backend.py +++ b/modules/dailymotion/backend.py @@ -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)