better thumbnail final fall back handling

This commit is contained in:
Simon 2023-08-22 18:12:21 +07:00
parent b6ae225342
commit 58818bb91c
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -61,7 +61,7 @@ class ThumbManagerBase:
print(f"{self.item_id}: retry thumbnail download {url}") print(f"{self.item_id}: retry thumbnail download {url}")
sleep((i + 1) ** i) sleep((i + 1) ** i)
return False return self.get_fallback()
def get_fallback(self): def get_fallback(self):
"""get fallback thumbnail if not available""" """get fallback thumbnail if not available"""