Fix many CapVideo-related ConversionWarnings

This commit is contained in:
Laurent Bachelier 2012-11-09 13:06:08 +01:00 committed by Romain Bignon
commit 1f310a3d33
14 changed files with 23 additions and 22 deletions

View file

@ -193,7 +193,7 @@ class RadioFranceBackend(BaseBackend, ICapRadio, ICapCollection, ICapVideo):
def fill_video(self, video, fields):
if 'url' in fields:
with self.browser:
video.url = self.browser.get_url(video.id)
video.url = unicode(self.browser.get_url(video.id))
return video

View file

@ -40,7 +40,7 @@ class RadioFranceVideo(BaseVideo):
def __init__(self, *args, **kwargs):
BaseVideo.__init__(self, *args, **kwargs)
self.ext = 'mp3'
self.ext = u'mp3'
@classmethod
def id2url(cls, _id):