X-Git-Url: https://git.ucc.asn.au/?p=progcomp2013.git;a=blobdiff_plain;f=qchess%2Fsrc%2Fgraphics.py;h=fcfc1b5bc955522e3921e79a72fe27934259a974;hp=fefcbf34181c62fe447189301f503e739b75d125;hb=64978647120812a13948e2146de81281b38a54d5;hpb=df2c20df9b55fd3ab24c494d745a260662f1da67 diff --git a/qchess/src/graphics.py b/qchess/src/graphics.py index fefcbf3..fcfc1b5 100644 --- a/qchess/src/graphics.py +++ b/qchess/src/graphics.py @@ -367,6 +367,7 @@ class GraphicsThread(StoppableThread): #print "Reject " + str(i) + str(event.pos) + " vs " + str(t) + # Function to pick players in a nice GUI way def SelectPlayers(self, players = []): @@ -429,7 +430,7 @@ class GraphicsThread(StoppableThread): time.sleep(1) p = None players.append(p) - elif choice == 2: + elif choice == 1: address = "" while address == "": self.board.display_grid(self.window, self.grid_sz)