1
mirror of git://git.acid.vegas/scroll.git synced 2024-11-07 08:46:45 +00:00

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

View File

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