Utilities/SingleApplication.py

changeset 12
1d8dd9706f46
parent 0
de9c2efb9d02
child 13
1af94a91f439
--- a/Utilities/SingleApplication.py	Fri Jan 01 16:11:36 2010 +0000
+++ b/Utilities/SingleApplication.py	Sat Jan 02 15:11:35 2010 +0000
@@ -55,9 +55,9 @@
         Private method to handle data from the client.
         """
         while self.qsock and self.qsock.canReadLine():
-            line = unicode(self.qsock.readLine())
+            line = bytes(self.qsock.readLine()).decode()
             
-##            print line          ##debug
+##            print(line)          ##debug
             
             eoc = line.find('<') + 1
             

eric ide

mercurial