gmyth-stream/plugins/comm/tcp.py
branchtrunk
changeset 484 27e83a8f68d7
parent 471 2eef40885322
     1.1 --- a/gmyth-stream/plugins/comm/tcp.py	Fri Mar 30 23:07:54 2007 +0100
     1.2 +++ b/gmyth-stream/plugins/comm/tcp.py	Tue Apr 03 16:42:04 2007 +0100
     1.3 @@ -18,11 +18,11 @@
     1.4          return self.con.recv(size)
     1.5  
     1.6      def sendMsg(self, msg):
     1.7 -        self.con.send(msg)
     1.8 +        self.con.send(msg + "\n")
     1.9  
    1.10      def Ack(self, command):
    1.11          msg = "[%s] Command %s received" % (lib.now(), command)
    1.12 -        self.sendMsg(msg + "\n")
    1.13 +        self.sendMsg(msg)
    1.14  
    1.15      def getRequest(self):
    1.16          self.con, self.client = self.tcp.accept()