diff --git a/resources/lib/webdialogue.py b/resources/lib/webdialogue.py index 04665293..7ef84493 100644 --- a/resources/lib/webdialogue.py +++ b/resources/lib/webdialogue.py @@ -46,16 +46,8 @@ def input(self, heading, text, time_out=30): server_address = (self.bind_interface, self.port) - try: - # noinspection PyUnresolvedReferences - from http.server import HTTPServer - # noinspection PyUnresolvedReferences - from http.server import BaseHTTPRequestHandler - except: - # noinspection PyUnresolvedReferences - from SocketServer import TCPServer as HTTPServer - # noinspection PyUnresolvedReferences - from BaseHTTPServer import BaseHTTPRequestHandler + from http.server import HTTPServer + from http.server import BaseHTTPRequestHandler # Create simple handler class class RetroHandler(BaseHTTPRequestHandler):