From a9db61c2ddb0389670022d5a00f4ac49c2f5c6fc Mon Sep 17 00:00:00 2001 From: acidvegas Date: Wed, 28 Jun 2023 16:31:21 -0400 Subject: [PATCH] Fixed typo birghtness to brightness --- img2irc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/img2irc.py b/img2irc.py index 86de956..cfaf6a1 100644 --- a/img2irc.py +++ b/img2irc.py @@ -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)