Remove unused `mongo_client` in `monkey_island/cc/server_utils/bootloader_server.py`

This commit is contained in:
Shreya 2021-05-05 17:51:20 +05:30
parent 0dc6005114
commit 536d0bc75c
1 changed files with 1 additions and 1 deletions

View File

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