Correct spelling of 'background' for color utils

This commit is contained in:
Evelyn 2016-11-07 11:05:50 +00:00
parent 293f1d5935
commit 6105c8e6e3

View file

@ -119,7 +119,7 @@ FONT_COLOR, FONT_RESET = "\x03", "\x0F"
def color(foreground, background=None):
foreground = str(foreground).zfill(2)
if background:
background = str(backbround).zfill(2)
background = str(background).zfill(2)
return "%s%s%s" % (FONT_COLOR, foreground,
"" if not background else ",%s" % background)