Converted to Twisted from asyncore. Not positive if this is just my local machine, but it seems like this backend is a bit faster.
This commit is contained in:
parent
82f46a2b69
commit
97cf1213e6
8 changed files with 113 additions and 145 deletions
|
|
@ -108,7 +108,7 @@ def announce_all(message, with_ann_prefix=True, with_nl=True):
|
|||
newline = ''
|
||||
|
||||
for session in session_mgr.get_session_list():
|
||||
session.msg_no_nl('%s %s%s' % (prefix, message,newline,))
|
||||
session.msg('%s %s%s' % (prefix, message,newline,))
|
||||
|
||||
def word_wrap(text, width=78):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue