This commit is contained in:
Kovid Goyal 2014-08-19 08:52:54 +05:30
parent 0e592614a2
commit 736a16d335

View File

@ -462,7 +462,7 @@ def main(args=sys.argv):
otherinstance = False otherinstance = False
try: try:
listener = create_listener() listener = create_listener()
except socket.error: # Good si is correct (on UNIX) except socket.error: # Good singleinstance is correct (on UNIX)
otherinstance = True otherinstance = True
else: else:
# On windows only singleinstance can be trusted # On windows only singleinstance can be trusted