forked from p15670423/monkey
Remove unused `mongo_client` in `monkey_island/cc/server_utils/bootloader_server.py`
This commit is contained in:
parent
0dc6005114
commit
536d0bc75c
|
@ -17,7 +17,7 @@ logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
class BootloaderHttpServer(ThreadingMixIn, HTTPServer):
|
class BootloaderHttpServer(ThreadingMixIn, HTTPServer):
|
||||||
def __init__(self, mongo_url):
|
def __init__(self, mongo_url):
|
||||||
self.mongo_client = pymongo.MongoClient(mongo_url)
|
pymongo.MongoClient(mongo_url)
|
||||||
server_address = ("", 5001)
|
server_address = ("", 5001)
|
||||||
super().__init__(server_address, BootloaderHTTPRequestHandler)
|
super().__init__(server_address, BootloaderHTTPRequestHandler)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue