mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
fix unix socket. spotted by @jinzo on irc. Thanks!
This commit is contained in:
parent
eac1812f36
commit
94f39e9d5e
@ -73,7 +73,7 @@ class UnixSocket(BaseSocket):
|
|||||||
|
|
||||||
FAMILY = socket.AF_UNIX
|
FAMILY = socket.AF_UNIX
|
||||||
|
|
||||||
def __init__(self, conf, fd=None):
|
def __init__(self, conf, log, fd=None):
|
||||||
if fd is None:
|
if fd is None:
|
||||||
try:
|
try:
|
||||||
os.remove(conf.address)
|
os.remove(conf.address)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user