Skip to content

Commit 94f4a83

Browse files
authored
Update server_load.py
formatting the line
1 parent aed098e commit 94f4a83

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lemonade/tools/server_load.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ def _resize_image(image_path: str, width: int, height: int) -> bytes:
107107
from PIL import Image # pylint: disable=import-outside-toplevel
108108

109109
img = Image.open(image_path)
110-
img = img.resize((width, height), Image.LANCZOS) # pylint: disable=no-member
110+
img = img.resize(
111+
(width, height), Image.LANCZOS # pylint: disable=no-member
112+
)
111113
buf = io.BytesIO()
112114
img.save(buf, format="JPEG", quality=85)
113115
return buf.getvalue()

0 commit comments

Comments
 (0)