From f7872fac43f545216d6e3612a588c480c52ee147 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 14 Nov 2018 13:16:11 +0000 Subject: [PATCH] Typo in src/utils/irc.py, 'resplace' -> 'replace' --- src/utils/irc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/irc.py b/src/utils/irc.py index 4a74259f..c39c84bc 100644 --- a/src/utils/irc.py +++ b/src/utils/irc.py @@ -221,7 +221,7 @@ def to_ansi_colors(s: str) -> str: replace += utils.consts.ANSI_BOLD bold = not bold elif type == utils.consts.RESET: - resplace += utils.consts.ANSI_RESET + replace += utils.consts.ANSI_RESET s = s.replace(token, replace, 1)