Typo in src/utils/irc.py, 'resplace' -> 'replace'
This commit is contained in:
parent
99c2147512
commit
f7872fac43
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue