mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
httpserver: Fix Python 2 compatibility.
This commit is contained in:
parent
a99e674b88
commit
b163dc7566
@ -265,7 +265,7 @@ class SupyHTTPRequestHandler(BaseHTTPRequestHandler):
|
||||
self.do_X('doHead')
|
||||
|
||||
def address_string(self):
|
||||
s = super(SupyHTTPRequestHandler, self).address_string()
|
||||
s = BaseHTTPRequestHandler.address_string(self)
|
||||
|
||||
# Strip IPv4-mapped IPv6 addresses such as ::ffff:127.0.0.1
|
||||
prefix = '::ffff:'
|
||||
|
Loading…
Reference in New Issue
Block a user