From 3c47b20f038629353a596e64b286ef290e4995ac Mon Sep 17 00:00:00 2001 From: Randall Leeds Date: Tue, 11 Oct 2011 16:19:10 -0700 Subject: [PATCH] typo - fix #273 --- gunicorn/glogging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn/glogging.py b/gunicorn/glogging.py index f1e5a0d4..cb39471f 100644 --- a/gunicorn/glogging.py +++ b/gunicorn/glogging.py @@ -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):