mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
use self.cfg.reload
This commit is contained in:
parent
250d98f48a
commit
1f8d3b6c37
@ -120,7 +120,7 @@ class Worker(object):
|
||||
try:
|
||||
self.wsgi = self.app.wsgi()
|
||||
except SyntaxError as e:
|
||||
if not self.reloader:
|
||||
if not self.cfg.reload:
|
||||
raise
|
||||
|
||||
self.log.exception(e)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user