mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
fixed: PWD comparison in arbiter using incorrect attribute names
This commit is contained in:
parent
0d91a519a5
commit
771aae85e0
@ -62,7 +62,7 @@ class Arbiter(object):
|
||||
try:
|
||||
a = os.stat(os.environ['PWD'])
|
||||
b = os.stat(os.getcwd())
|
||||
if a.ino == b.ino and a.dev == b.dev:
|
||||
if a.st_ino == b.st_ino and a.st_dev == b.st_dev:
|
||||
cwd = os.environ['PWD']
|
||||
else:
|
||||
cwd = os.getcwd()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user