forked from p15670423/monkey
island: Remove MongoClient() call from BootloaderHttpServer
This commit is contained in:
parent
e8947a375a
commit
69af8a8662
|
@ -3,7 +3,6 @@ from http.server import BaseHTTPRequestHandler, HTTPServer
|
|||
from socketserver import ThreadingMixIn
|
||||
from urllib import parse
|
||||
|
||||
import pymongo
|
||||
import requests
|
||||
import urllib3
|
||||
|
||||
|
@ -17,7 +16,6 @@ logger = logging.getLogger(__name__)
|
|||
|
||||
class BootloaderHttpServer(ThreadingMixIn, HTTPServer):
|
||||
def __init__(self, mongo_url):
|
||||
pymongo.MongoClient(mongo_url)
|
||||
server_address = ("", 5001)
|
||||
super().__init__(server_address, BootloaderHTTPRequestHandler)
|
||||
|
||||
|
|
Loading…
Reference in New Issue