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
f4f73b6d09
commit
c3c695d462
@ -39,7 +39,7 @@ def sendfile(fdout, fdin, offset, nbytes):
|
||||
if result == -1:
|
||||
e = ctypes.get_errno()
|
||||
if e == errno.EAGAIN and _nbytes.value:
|
||||
return nbytes.value
|
||||
return _nbytes.value
|
||||
raise OSError(e, os.strerror(e))
|
||||
return _nbytes.value
|
||||
elif sys.platform in ('freebsd', 'dragonfly',):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user