aboutsummaryrefslogtreecommitdiff
path: root/Utils.py
diff options
context:
space:
mode:
authorGravatar Evelyn2016-11-07 11:05:50 +0000
committerGravatar Evelyn2016-11-07 11:05:50 +0000
commit6105c8e6e3db13c8ba939505490e2eae8ffc4da3 (patch)
tree9b31f3630095b162971c3f3db191262d88aa1a04 /Utils.py
parentRevert NR departures to showing times, not countdown, add colours, allow refe... (diff)
signature
Correct spelling of 'background' for color utils
Diffstat (limited to 'Utils.py')
-rw-r--r--Utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utils.py b/Utils.py
index 370545e1..5396856f 100644
--- a/Utils.py
+++ b/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)