From 2ff21f5f788563af17299e525e4d137595fa115e Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 19 May 2019 21:40:48 +0100 Subject: [PATCH] Typo, 'colr' -> 'color' --- modules/youtube.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/youtube.py b/modules/youtube.py index 41b0ac7d..bc14e7d5 100644 --- a/modules/youtube.py +++ b/modules/youtube.py @@ -46,10 +46,10 @@ class Module(ModuleManager.BaseModule): video_duration = content["duration"] video_opinions = "" if video_likes and video_dislikes: - likes = utils.irc.colr("%s%s" % (video_likes, ARROW_UP), + likes = utils.irc.color("%s%s" % (video_likes, ARROW_UP), utils.consts.GREEN) - dislikes = utils.irc.colr("%s%s" % (ARROW_DOWN, video_dislikes), - utils.consts.RED) + dislikes = utils.irc.color("%s%s" % + (ARROW_DOWN, video_dislikes), utils.consts.RED) video_opinions = " (%s%s)" % (likes, dislikes) match = re.match(REGEX_ISO8601, video_duration)