diff options
Diffstat (limited to 'gunicorn_config.py')
| -rw-r--r-- | gunicorn_config.py | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/gunicorn_config.py b/gunicorn_config.py index 00e5ccf0..37a91367 100644 --- a/gunicorn_config.py +++ b/gunicorn_config.py @@ -6,7 +6,11 @@ STRIP_REGEX = re.compile(r"<[^<]+?>")  WIKI_TABLE = "wiki" -def when_ready(server=None, output_func=None): +def when_ready(server=None): +    _when_ready(server=server) + + +def _when_ready(server=None, output_func=None):      """ server hook that only runs when the gunicorn master process loads """      if server: | 
