Commit ae674c67 authored by Romain Bignon's avatar Romain Bignon

rename ContactThumbnail to VideoThumbnail

parent 8c9bf2a3
......@@ -22,7 +22,7 @@ from .cap import ICap
__all__ = ['BaseVideo', 'ICapVideo']
class ContactThumbnail(object):
class VideoThumbnail(object):
def __init__(self, url):
self.url = url
self.data = None
......@@ -49,7 +49,7 @@ class BaseVideo(object):
self.rating_max = float(rating_max)
self.thumbnail = thumbnail
if thumbnail_url and not self.thumbnail:
self.thumbnail = ContactThumbnail(thumbnail_url)
self.thumbnail = VideoThumbnail(thumbnail_url)
self.nsfw = nsfw
@classmethod
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment