Merge pull request #1499 from SmileyChris/sys-exit

Missing sys import
This commit is contained in:
Neil 2015-10-19 12:41:21 +09:00
commit 691fc54370

View file

@ -21,8 +21,8 @@ from collections import defaultdict
try:
from SimpleWebSocketServer import WebSocket, SimpleSSLWebSocketServer
except ImportError:
print "install SimpleWebSocketServer"
sys.exit()
import sys
sys.exit("install SimpleWebSocketServer")
import util