fix thumbnail mistake
This commit is contained in:
parent
d6fe2505f6
commit
10d239fcaf
1 changed files with 6 additions and 6 deletions
|
|
@ -133,17 +133,17 @@ class Entry(BaseEntry):
|
||||||
"""Returns the entry's file name when downloaded locally"""
|
"""Returns the entry's file name when downloaded locally"""
|
||||||
return f"{self.uid}.{self.ext}"
|
return f"{self.uid}.{self.ext}"
|
||||||
|
|
||||||
@property
|
|
||||||
def download_thumbnail_name(self) -> str:
|
|
||||||
"""Returns the thumbnail's file name when downloaded locally"""
|
|
||||||
return self.kwargs("thumbnail")
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def thumbnail_ext(self) -> str:
|
def thumbnail_ext(self) -> str:
|
||||||
"""
|
"""
|
||||||
:return: The entry's thumbnail extension
|
:return: The entry's thumbnail extension
|
||||||
"""
|
"""
|
||||||
return self.download_thumbnail_name.split(".")[-1]
|
return self.kwargs("thumbnail").split(".")[-1]
|
||||||
|
|
||||||
|
@property
|
||||||
|
def download_thumbnail_name(self) -> str:
|
||||||
|
"""Returns the thumbnail's file name when downloaded locally"""
|
||||||
|
return f"{self.uid}.{self.thumbnail_ext}"
|
||||||
|
|
||||||
def to_dict(self) -> Dict:
|
def to_dict(self) -> Dict:
|
||||||
"""Returns the entry's values as a dictionary"""
|
"""Returns the entry's values as a dictionary"""
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue