Default value for positional argument

Since this is the enrty point for pyinstaller island
This commit is contained in:
Shay Nehmad 2020-04-16 19:38:05 +03:00
parent ef3a71afe5
commit cb9d4936dd
1 changed files with 1 additions and 1 deletions

View File

@ -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)