mirror of
https://github.com/tubearchivist/tubearchivist
synced 2024-11-06 09:20:27 +00:00
add print for thumbnail fallback, #425
This commit is contained in:
parent
ef685ecb42
commit
77c26134d1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user