Loading resources/views.py +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ def thumb( tempfile.gettempdir(), sha256, angle, scale, top, right, bottom, left ) if not os.path.isfile(tmp_pic_path): crop_color = [96, 96, 96] crop_color = [96] img = pyvips.Image.new_from_file(pic_file.local_path()) if angle: img = img.rotate(angle) Loading Loading
resources/views.py +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ def thumb( tempfile.gettempdir(), sha256, angle, scale, top, right, bottom, left ) if not os.path.isfile(tmp_pic_path): crop_color = [96, 96, 96] crop_color = [96] img = pyvips.Image.new_from_file(pic_file.local_path()) if angle: img = img.rotate(angle) Loading