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

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: