mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-05 05:29:27 +00:00
add print for thumbnail fallback, #425
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user