mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
fix typo...
This commit is contained in:
parent
dc5ec29009
commit
6264e9edd4
@ -79,10 +79,10 @@ class UnixSocket(BaseSocket):
|
||||
|
||||
FAMILY = socket.AF_UNIX
|
||||
|
||||
def __init__(self, address, conf, log, fd=None):
|
||||
def __init__(self, addr, conf, log, fd=None):
|
||||
if fd is None:
|
||||
try:
|
||||
os.remove(address)
|
||||
os.remove(addr)
|
||||
except OSError:
|
||||
pass
|
||||
super(UnixSocket, self).__init__(addr, conf, log, fd=fd)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user