From 99e62a373a7925e22c88216b67bfae1636e5bdb5 Mon Sep 17 00:00:00 2001 From: DShaw0004 <114005178+dshaw0004@users.noreply.github.com> Date: Fri, 15 Sep 2023 13:47:49 +0530 Subject: [PATCH] Update typing for font_sizes in image captcha --- src/captcha/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/captcha/image.py b/src/captcha/image.py index 51fdee0..ccef9c8 100644 --- a/src/captcha/image.py +++ b/src/captcha/image.py @@ -51,7 +51,7 @@ class ImageCaptcha: width: int = 160, height: int = 60, fonts: t.Optional[t.List[str]] = None, - font_sizes: t.Optional[t.Tuple[int]] = None): + font_sizes: t.Optional[t.Tuple[int, ...]] = None): self._width = width self._height = height self._fonts = fonts or DEFAULT_FONTS