use fallback thumb when no url passed

This commit is contained in:
simon 2022-08-10 22:24:02 +07:00
parent 35f1084cc2
commit 7029441f89
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,8 @@ class ThumbManagerBase:
def download_raw(self, url):
"""download thumbnail for video"""
if not url:
return self.get_fallback()
for i in range(3):
try: