Merge pull request #41 from everplays/master
exit quietly with KeyboardInterrupt
This commit is contained in:
		
						commit
						e040b54370
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		
							
								
								
									
										3
									
								
								local.py
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								local.py
									
										
									
									
									
								
							|  | @ -190,4 +190,7 @@ if __name__ == '__main__': | |||
|         server.serve_forever() | ||||
|     except socket.error, e: | ||||
|         logging.error(e) | ||||
|     except KeyboardInterrupt: | ||||
|         server.shutdown() | ||||
|         sys.exit(0) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue