Browse Source

Merge pull request #41 from everplays/master

exit quietly with KeyboardInterrupt
1.4
clowwindy 12 years ago
parent
commit
e040b54370
  1. 3
      local.py

3
local.py

@ -190,4 +190,7 @@ if __name__ == '__main__':
server.serve_forever() server.serve_forever()
except socket.error, e: except socket.error, e:
logging.error(e) logging.error(e)
except KeyboardInterrupt:
server.shutdown()
sys.exit(0)

Loading…
Cancel
Save