diff options
| author | 2019-11-04 13:33:10 +0000 | |
|---|---|---|
| committer | 2019-11-04 13:33:10 +0000 | |
| commit | 09fe1c5a7007366ff64504f213c1563eda29cab7 (patch) | |
| tree | 5a109114049cbf9fbf60af0cef6f651d193045ab /src/utils/irc.py | |
| parent | show when a fediverse Note is nothing but an attachment (diff) | |
| signature | ||
don't stop parsing colors at comma
Diffstat (limited to 'src/utils/irc.py')
| -rw-r--r-- | src/utils/irc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/irc.py b/src/utils/irc.py index 72593f40..81db0113 100644 --- a/src/utils/irc.py +++ b/src/utils/irc.py @@ -84,7 +84,7 @@ def _format_tokens(s: str) -> typing.List[str]: is_background = True color_finished = False - if not char.isdigit() or last_char or color_finished: + if color_finished or last_char: color = foreground if background: color += ","+background |
