Browse Source

Merge pull request #1499 from SmileyChris/sys-exit

Missing sys import
283
Neil 9 years ago
parent
commit
691fc54370
  1. 4
      lib/websockets.py

4
lib/websockets.py

@ -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

Loading…
Cancel
Save