Trying to fix networking
authorSam Moore <[email protected]>
Wed, 27 Mar 2013 04:38:44 +0000 (12:38 +0800)
committerSam Moore <[email protected]>
Wed, 27 Mar 2013 04:38:44 +0000 (12:38 +0800)
qchess/qchess.py
qchess/src/log.py

index 5883ca5..40a3d3e 100755 (executable)
@@ -1349,7 +1349,7 @@ class LogFile():
        def setup(self, board, players):
                
                for p in players:
-                       self.log.write("# " + p.colour + " : " + p.name + "\n")
+                       self.log.write("# " + str(p.colour) + " : " + str(p.name) + "\n")
                
                self.log.write("# Initial board\n")
                for x in range(0, w):
@@ -2633,4 +2633,4 @@ if __name__ == "__main__":
                sys.exit(102)
 
 # --- main.py --- #
-# EOF - created from make on Sat Mar 23 12:55:44 WST 2013
+# EOF - created from make on Wed Mar 27 12:38:30 WST 2013
index af0c2a7..96c3c92 100644 (file)
@@ -17,7 +17,7 @@ class LogFile():
        def setup(self, board, players):
                
                for p in players:
-                       self.log.write("# " + p.colour + " : " + p.name + "\n")
+                       self.log.write("# " + str(p.colour) + " : " + str(p.name) + "\n")
                
                self.log.write("# Initial board\n")
                for x in range(0, w):

UCC git Repository :: git.ucc.asn.au