Use super() for subclassing BaseHTTPRequestHandler

This commit is contained in:
croneter 2021-10-18 08:58:09 +02:00
parent e0451e4a15
commit 56a3cdbbd8

View file

@ -45,7 +45,7 @@ class MyHandler(BaseHTTPRequestHandler):
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
self.serverlist = [] self.serverlist = []
BaseHTTPRequestHandler.__init__(self, *args, **kwargs) super().__init__(*args, **kwargs)
def log_message(self, format, *args): def log_message(self, format, *args):
''' '''