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)