Correct spelling of 'background' for color utils
This commit is contained in:
parent
293f1d5935
commit
6105c8e6e3
1 changed files with 1 additions and 1 deletions
2
Utils.py
2
Utils.py
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue