From cb9d4936ddde5f28432a97ab3c0d1b9c904f2553 Mon Sep 17 00:00:00 2001 From: Shay Nehmad Date: Thu, 16 Apr 2020 19:38:05 +0300 Subject: [PATCH] Default value for positional argument Since this is the enrty point for pyinstaller island --- monkey/monkey_island/cc/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/main.py b/monkey/monkey_island/cc/main.py index 09f079c19..50e3bdd7c 100644 --- a/monkey/monkey_island/cc/main.py +++ b/monkey/monkey_island/cc/main.py @@ -31,7 +31,7 @@ from monkey_island.cc.bootloader_server import BootloaderHttpServer from monkey_island.cc.setup import setup -def main(should_setup_only): +def main(should_setup_only=False): logger.info("Starting bootloader server") mongo_url = os.environ.get('MONGO_URL', env.get_mongo_url()) bootloader_server_thread = Thread(target=BootloaderHttpServer(mongo_url).serve_forever, daemon=True)