forked from p15670423/monkey
Island: Fix import sequence in main.py
Gevent setup needs to go first, because it hooks other imports.
This commit is contained in:
parent
867135b358
commit
484773b782
|
@ -1,10 +1,10 @@
|
||||||
# This import patches other imports and needs to be first
|
# This import patches other imports and needs to be first
|
||||||
|
import monkey_island.setup.gevent_setup # noqa: F401 isort:skip
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from monkey_island.cc.server_utils.island_logger import setup_default_failsafe_logging
|
from monkey_island.cc.server_utils.island_logger import setup_default_failsafe_logging
|
||||||
|
|
||||||
import monkey_island.setup.gevent_setup # noqa: F401 isort:skip
|
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
# This is here in order to catch EVERYTHING, some functions are being called on
|
# This is here in order to catch EVERYTHING, some functions are being called on
|
||||||
|
|
Loading…
Reference in New Issue