Skip to content
Snippets Groups Projects
Commit 4b57fee2 authored by KERDREUX Jerome's avatar KERDREUX Jerome
Browse files

Fixing some stuff

parent cf59ffab
No related branches found
No related tags found
1 merge request!1First try of type hints
from email.policy import default
from gevent import monkey; monkey.patch_all(thread=False) from gevent import monkey; monkey.patch_all(thread=False)
from gevent.pywsgi import WSGIServer from gevent.pywsgi import WSGIServer
from geventwebsocket.handler import WebSocketHandler from geventwebsocket.handler import WebSocketHandler
...@@ -47,7 +46,7 @@ def run(): ...@@ -47,7 +46,7 @@ def run():
def stop(): def stop():
global server global server
server.stop() server.stop() # pyright: ignore
def main(): def main():
# This apps can run with gevent alone (without asyncio) # This apps can run with gevent alone (without asyncio)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment