Skip to content

Commit

Permalink
Fix locking of removeServer
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowNinja committed Nov 4, 2014
1 parent 9df5013 commit a835362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def get(self, ip, port):
return server

def removeServer(self, server):
with lock:
with self.lock:
try:
self.list.remove(server)
except:
Expand Down

0 comments on commit a835362

Please sign in to comment.