mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Remove redundant "is not None" in gunicorn/http/wsgi.py (#1556)
This commit is contained in:
parent
9507ae4a09
commit
cf401982fd
@ -179,7 +179,7 @@ def create(req, sock, client, server, cfg):
|
||||
server = server.split(":")
|
||||
if len(server) == 1:
|
||||
# unix socket
|
||||
if host and host is not None:
|
||||
if host:
|
||||
server = host.split(':')
|
||||
if len(server) == 1:
|
||||
if url_scheme == "http":
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user