diff options
| author | 2019-10-27 10:19:00 +0000 | |
|---|---|---|
| committer | 2019-10-27 10:19:00 +0000 | |
| commit | 8f4b5a0e70804f8f19f8b9032b7d93857cda40e8 (patch) | |
| tree | c522c8a04f4173cfc104796dd5cf942f2c44a0fb /modules/commands | |
| parent | fallback ActivityPub data encoding to utf8 (diff) | |
| signature | ||
move IRCLine related code from utils.irc to IRCLine.py
Diffstat (limited to 'modules/commands')
| -rw-r--r-- | modules/commands/outs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/outs.py b/modules/commands/outs.py index c81883ab..9098df63 100644 --- a/modules/commands/outs.py +++ b/modules/commands/outs.py @@ -1,5 +1,5 @@ import re -from src import utils +from src import IRCLine, utils STR_MORE = " (more...)" STR_MORE_LEN = len(STR_MORE.encode("utf8")) @@ -57,7 +57,7 @@ class Out(object): if truncated: valid, truncated = self._adjust_to_word_boundaries(valid, truncated) - line = utils.irc.parse_line(valid+STR_MORE) + line = IRCLine.parse_line(valid+STR_MORE) self._text = "%s%s" % (STR_CONTINUED, truncated) else: self._text = "" |
