From 3d78cfb63847ff118d39d0fe12b4cb00a3ad0a99 Mon Sep 17 00:00:00 2001 From: pictuga Date: Sat, 11 Jan 2014 18:21:37 +0100 Subject: [PATCH] Fix HTTP bug when returning empty page --- morss/morss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morss/morss.py b/morss/morss.py index cb340b4..0d34bae 100644 --- a/morss/morss.py +++ b/morss/morss.py @@ -696,7 +696,7 @@ def cgi_app(environ, start_response): def cgi_wrapper(environ, start_response): try: - return cgi_app(environ, start_response) + return cgi_app(environ, start_response) or [] except (KeyboardInterrupt, SystemExit): raise except MorssException as e: