add print for thumbnail fallback, #425

This commit is contained in:
simon 2023-02-13 12:15:12 +07:00
parent ef685ecb42
commit 77c26134d1
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -63,6 +63,7 @@ class ThumbManagerBase:
def get_fallback(self):
"""get fallback thumbnail if not available"""
print(f"{self.item_id}: failed to extract thumbnail, use fallback")
if self.fallback:
img_raw = Image.open(self.fallback)
return img_raw