try to LOAD_TRUNCATED_IMAGES, #256

pull/263/head
simon 2 years ago
parent 5d262d7d48
commit c41f0a7cc4
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

@ -17,7 +17,9 @@ from home.src.ta.config import AppConfig
from home.src.ta.helper import ignore_filelist
from home.src.ta.ta_redis import RedisArchivist
from mutagen.mp4 import MP4, MP4Cover
from PIL import Image, ImageFilter
from PIL import Image, ImageFile, ImageFilter
ImageFile.LOAD_TRUNCATED_IMAGES = True
class ThumbManager:

Loading…
Cancel
Save