handle malformed thumbnail download, #430
This commit is contained in:
parent
0e5421a558
commit
1125c0c4bf
|
@ -48,7 +48,7 @@ class ThumbManagerBase:
|
|||
return img
|
||||
return self.get_fallback()
|
||||
|
||||
except UnidentifiedImageError:
|
||||
except (UnidentifiedImageError, OSError):
|
||||
print(f"failed to open thumbnail: {url}")
|
||||
return self.get_fallback()
|
||||
|
||||
|
|
Loading…
Reference in New Issue