mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
remove HTTP logging as it confuses users
might be worth to log it to a file, if we ever need to debug it
This commit is contained in:
10
WebUI.py
10
WebUI.py
@@ -119,7 +119,15 @@ class WaitingForUiException(Exception):
|
||||
|
||||
webthread = None
|
||||
PORT = 5050
|
||||
Handler = partial(http.server.SimpleHTTPRequestHandler,
|
||||
class RequestHandler(http.server.SimpleHTTPRequestHandler):
|
||||
def log_request(self, code='-', size='-'):
|
||||
pass
|
||||
def log_message(self, format, *args):
|
||||
pass
|
||||
def log_date_time_string(self):
|
||||
pass
|
||||
|
||||
Handler = partial(RequestHandler,
|
||||
directory=Utils.local_path(os.path.join("data", "web", "public")))
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user