Use super() for subclassing BaseHTTPRequestHandler
This commit is contained in:
parent
e0451e4a15
commit
56a3cdbbd8
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class MyHandler(BaseHTTPRequestHandler):
|
|||
|
||||
def __init__(self, *args, **kwargs):
|
||||
self.serverlist = []
|
||||
BaseHTTPRequestHandler.__init__(self, *args, **kwargs)
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
def log_message(self, format, *args):
|
||||
'''
|
||||
|
|
Loading…
Reference in a new issue