From 10d239fcafd7e0440630e267224b392332edec3e Mon Sep 17 00:00:00 2001 From: jbannon Date: Wed, 13 Apr 2022 05:43:10 +0000 Subject: [PATCH] fix thumbnail mistake --- ytdl_subscribe/entries/entry.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ytdl_subscribe/entries/entry.py b/ytdl_subscribe/entries/entry.py index 43a963f5..5f84bc8f 100644 --- a/ytdl_subscribe/entries/entry.py +++ b/ytdl_subscribe/entries/entry.py @@ -133,17 +133,17 @@ class Entry(BaseEntry): """Returns the entry's file name when downloaded locally""" 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 def thumbnail_ext(self) -> str: """ :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: """Returns the entry's values as a dictionary"""