Typo, 'colr' -> 'color'

This commit is contained in:
jesopo 2019-05-19 21:40:48 +01:00
parent c6f82d3866
commit 2ff21f5f78

View file

@ -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)