Trying to fix networking
[progcomp2013.git] / qchess / src / log.py
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