mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
typo - fix #273
This commit is contained in:
parent
58c3c5680d
commit
3c47b20f03
@ -141,7 +141,7 @@ class Logger(object):
|
|||||||
|
|
||||||
def _get_gunicorn_handler(self, log):
|
def _get_gunicorn_handler(self, log):
|
||||||
for h in log.handlers:
|
for h in log.handlers:
|
||||||
if getattr(h, "_gunicorn") == True:
|
if getattr(h, "_gunicorn", False) == True:
|
||||||
return h
|
return h
|
||||||
|
|
||||||
def _set_handler(self, log, output, fmt):
|
def _set_handler(self, log, output, fmt):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user