Update typing for font_sizes in image captcha

This commit is contained in:
DShaw0004
2023-09-15 13:47:49 +05:30
committed by GitHub
parent 902141c482
commit 99e62a373a

View File

@@ -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