This commit is contained in:
Randall Leeds 2011-10-11 16:19:10 -07:00
parent 58c3c5680d
commit 3c47b20f03

View File

@ -141,7 +141,7 @@ class Logger(object):
def _get_gunicorn_handler(self, log):
for h in log.handlers:
if getattr(h, "_gunicorn") == True:
if getattr(h, "_gunicorn", False) == True:
return h
def _set_handler(self, log, output, fmt):