Fix gunicorn related typo

master
pictuga 2020-10-01 00:07:41 +02:00
parent 6192ff4081
commit 9ce6acba20
1 changed files with 1 additions and 1 deletions

View File

@ -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()