Fix gunicorn related typo
This commit is contained in:
parent
6192ff4081
commit
9ce6acba20
@ -291,5 +291,5 @@ def cgi_start_server():
|
|||||||
httpd.serve_forever()
|
httpd.serve_forever()
|
||||||
|
|
||||||
|
|
||||||
if "gunicorn" in os.getenv('SERVER_SOFTWARE'):
|
if 'gunicorn' in os.getenv('SERVER_SOFTWARE', ''):
|
||||||
crawler.default_cache.autotrim()
|
crawler.default_cache.autotrim()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user