Typo, 'colr' -> 'color'
This commit is contained in:
parent
c6f82d3866
commit
2ff21f5f78
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue