Fix HTTP bug when returning empty page
parent
840b0b1ded
commit
3d78cfb638
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue