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:
Griatch 2009-08-30 10:07:15 +00:00
parent ceaf7d2a2f
commit 117207e3ca
3 changed files with 71 additions and 20 deletions

View file

@ -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):