rename ContactThumbnail to VideoThumbnail
This commit is contained in:
parent
8c9bf2a38d
commit
ae674c6789
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue