VideoThumbnail.__str__() doesn't print the url between <> anymore

This commit is contained in:
Romain Bignon 2010-08-02 14:48:51 +02:00
commit 244bb055f2

View file

@ -28,7 +28,7 @@ class VideoThumbnail(object):
self.data = None
def __str__(self):
return '<%s>' % self.url
return self.url
def __repr__(self):
return '<Thumbnail url="%s">' % self.url