Fixed typo birghtness to brightness

This commit is contained in:
Dionysus 2023-06-28 16:31:21 -04:00
parent d696e2ad2e
commit a9db61c2dd
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ def convert(data, max_line_len, img_width=80, palette='RGB99', brightness=False,
palette = palettes[palette]
image = Image.open(io.BytesIO(data))
del data
if birghtness:
if brightness:
image = ImageEnhance.Brightness(im).enhance(brightness)
if contrast:
image = ImageEnhance.Contrast(image).enhance(contrast)