Skip to content

Commit

Permalink
Possible remedy on issue #13
Browse files Browse the repository at this point in the history
  • Loading branch information
voneiden committed Aug 15, 2013
1 parent 9d65e26 commit 1a5e9df
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/missioncontrol.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,9 @@ def __init__(self,system):

def connect(self,ip):
# TODO: IP should include port

if self.socket:
self.socket.close()

print "Connecting to",ip
self.socket = socket.socket()
try:
Expand Down

0 comments on commit 1a5e9df

Please sign in to comment.