Prevent startup on Windows

There's way too many things to fix before this has any chance of working.
This commit is contained in:
Pierre Ossman
2017-06-15 15:18:29 +02:00
parent ddcec961ec
commit 518e6e0e56
+3
View File
@@ -37,6 +37,9 @@ for mod, msg in [('ssl', 'TLS/SSL/wss is disabled'),
if sys.platform == 'win32':
# make sockets pickle-able/inheritable
import multiprocessing.reduction
# the multiprocesssing module behaves much differently on Windows,
# and we have yet to fix all the bugs
sys.exit("Windows is not supported at this time")
from websockify.websocket import WebSocket, WebSocketWantReadError, WebSocketWantWriteError
from websockify.websocketserver import WebSocketRequestHandler