This commit is contained in:
ed
2024-08-13 00:08:23 +00:00
parent 3db117d85f
commit dcc988135e
5 changed files with 48 additions and 2 deletions

View File

@@ -87,6 +87,9 @@ if True: # pylint: disable=using-constant-test
if PY2:
range = xrange # type: ignore
if not hasattr(socket, "AF_UNIX"):
setattr(socket, "AF_UNIX", -9001)
class HttpSrv(object):
"""