Skip to content

Commit

Permalink
island: Remove MongoClient() call from BootloaderHttpServer
Browse files Browse the repository at this point in the history
  • Loading branch information
mssalvatore committed May 7, 2021
1 parent e8947a3 commit 69af8a8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions monkey/monkey_island/cc/server_utils/bootloader_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from socketserver import ThreadingMixIn
from urllib import parse

import pymongo
import requests
import urllib3

Expand All @@ -17,7 +16,6 @@

class BootloaderHttpServer(ThreadingMixIn, HTTPServer):
def __init__(self, mongo_url):
pymongo.MongoClient(mongo_url)
server_address = ("", 5001)
super().__init__(server_address, BootloaderHTTPRequestHandler)

Expand Down

0 comments on commit 69af8a8

Please sign in to comment.