mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
resolve py3 bytes issue for django apps
This commit is contained in:
parent
e372a26342
commit
f7b9a08c9c
@ -273,7 +273,7 @@ class Arbiter(object):
|
||||
Wake up the arbiter by writing to the PIPE
|
||||
"""
|
||||
try:
|
||||
os.write(self.PIPE[1], '.')
|
||||
os.write(self.PIPE[1], b'.')
|
||||
except IOError as e:
|
||||
if e.errno not in [errno.EAGAIN, errno.EINTR]:
|
||||
raise
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user