Fix HTTP bug when returning empty page

master
pictuga 2014-01-11 18:21:37 +01:00
parent 840b0b1ded
commit 3d78cfb638
1 changed files with 1 additions and 1 deletions

View File

@ -696,7 +696,7 @@ def cgi_app(environ, start_response):
def cgi_wrapper(environ, start_response): def cgi_wrapper(environ, start_response):
try: try:
return cgi_app(environ, start_response) return cgi_app(environ, start_response) or []
except (KeyboardInterrupt, SystemExit): except (KeyboardInterrupt, SystemExit):
raise raise
except MorssException as e: except MorssException as e: