This commit is contained in:
lwl0608 2024-05-06 16:24:54 +08:00
parent 7e6111f6e0
commit c1a4d7383f
2 changed files with 4 additions and 1 deletions

View File

@ -1,8 +1,11 @@
from pymongo import UpdateOne
from lib.all import *
from PIL import Image
from PIL import Image, ImageFile
import oss2
ImageFile.LOAD_TRUNCATED_IMAGES = True
Image.MAX_IMAGE_PIXELS = None
service_name = 'compress'
log_dir = '/app/log'
logger = Logger(service_name, log_dir=log_dir)

Binary file not shown.