From 5a56008edbb6a5474ee300033112bf51114b439f Mon Sep 17 00:00:00 2001 From: AsfhtgkDavid <daika@i.ua> Date: Sat, 25 Jan 2025 22:38:39 +0200 Subject: [PATCH] Fix ImageDraw --- src/PIL/ImageDraw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/ImageDraw.py b/src/PIL/ImageDraw.py index 3ae60bb318e..1012dcbc039 100644 --- a/src/PIL/ImageDraw.py +++ b/src/PIL/ImageDraw.py @@ -241,7 +241,7 @@ def line( xy: Coords, fill: _Ink | None = None, width: int = 0, - joint: Literal[curve] | None = None, + joint: Literal["curve"] | None = None, ) -> None: """Draw a line, or a connected sequence of line segments.""" ink = self._getink(fill)[0]