From 9ce6acba20fc97b1472a8df84abcbee375f26555 Mon Sep 17 00:00:00 2001 From: pictuga Date: Thu, 1 Oct 2020 00:07:41 +0200 Subject: [PATCH] Fix gunicorn related typo --- morss/wsgi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morss/wsgi.py b/morss/wsgi.py index 2a3d422..d08385e 100644 --- a/morss/wsgi.py +++ b/morss/wsgi.py @@ -291,5 +291,5 @@ def cgi_start_server(): httpd.serve_forever() -if "gunicorn" in os.getenv('SERVER_SOFTWARE'): +if 'gunicorn' in os.getenv('SERVER_SOFTWARE', ''): crawler.default_cache.autotrim()