Island: Fix import sequence in main.py

Gevent setup needs to go first, because it hooks other imports.
This commit is contained in:
vakarisz 2022-08-04 12:43:13 +03:00
parent 867135b358
commit 484773b782
1 changed files with 2 additions and 2 deletions

View File

@ -1,10 +1,10 @@
# This import patches other imports and needs to be first
import monkey_island.setup.gevent_setup # noqa: F401 isort:skip
import sys
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():
# This is here in order to catch EVERYTHING, some functions are being called on