fix id2url for dailymotion

This commit is contained in:
Romain Bignon 2011-07-22 21:02:12 +02:00
commit 8343637b4b

View file

@ -31,7 +31,4 @@ class DailymotionVideo(BaseVideo):
@classmethod
def id2url(cls, _id):
if _id.isdigit():
return 'http://www.dailymotion.com/video/%d' % int(_id)
else:
return None
return 'http://www.dailymotion.com/video/%s' % _id