forked from p15670423/monkey
Island: Add missing type hint to _configure_gevent_exception_handling()
This commit is contained in:
parent
2379271c13
commit
dd30b61658
|
@ -149,7 +149,7 @@ def _start_island_server(
|
||||||
http_server.serve_forever()
|
http_server.serve_forever()
|
||||||
|
|
||||||
|
|
||||||
def _configure_gevent_exception_handling(data_dir):
|
def _configure_gevent_exception_handling(data_dir: Path):
|
||||||
hub = gevent.hub.get_hub()
|
hub = gevent.hub.get_hub()
|
||||||
|
|
||||||
gevent_exception_log = open(data_dir / GEVENT_EXCEPTION_LOG, "w+", buffering=1)
|
gevent_exception_log = open(data_dir / GEVENT_EXCEPTION_LOG, "w+", buffering=1)
|
||||||
|
|
Loading…
Reference in New Issue