Implemented allcom as per MUX specifications (Issue 47). Added some more functionality to it, such as giving allcom without an
argument makes it work as comlist. Also cleaned up some of the channel listing commands to make their output more consistent.
This commit is contained in:
parent
ceaf7d2a2f
commit
117207e3ca
3 changed files with 71 additions and 20 deletions
|
|
@ -192,7 +192,7 @@ class SessionProtocol(StatefulTelnetProtocol):
|
|||
Sends a message to the session.
|
||||
"""
|
||||
if isinstance(message, unicode):
|
||||
message = message.encode("utf-8")
|
||||
message = message.encode("utf-8")
|
||||
self.sendLine("%s" % (message,))
|
||||
|
||||
def add_default_channels(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue