Commit 11cbf70f authored by Sam Moore's avatar Sam Moore

Trying to fix networking

parent 545652c9
...@@ -1349,7 +1349,7 @@ class LogFile(): ...@@ -1349,7 +1349,7 @@ class LogFile():
def setup(self, board, players): def setup(self, board, players):
for p in 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") self.log.write("# Initial board\n")
for x in range(0, w): for x in range(0, w):
...@@ -2633,4 +2633,4 @@ if __name__ == "__main__": ...@@ -2633,4 +2633,4 @@ if __name__ == "__main__":
sys.exit(102) sys.exit(102)
# --- main.py --- # # --- 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
...@@ -17,7 +17,7 @@ class LogFile(): ...@@ -17,7 +17,7 @@ class LogFile():
def setup(self, board, players): def setup(self, board, players):
for p in 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") self.log.write("# Initial board\n")
for x in range(0, w): for x in range(0, w):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment