parent
463530f02c
commit
758ff404a8
|
@ -552,8 +552,11 @@ def cgi_app(environ, start_response):
|
||||||
rss = FeedGather(rss, url, options)
|
rss = FeedGather(rss, url, options)
|
||||||
out = FeedFormat(rss, options)
|
out = FeedFormat(rss, options)
|
||||||
|
|
||||||
if not options.silent:
|
if options.silent:
|
||||||
return out
|
return ['']
|
||||||
|
|
||||||
|
else:
|
||||||
|
return [out]
|
||||||
|
|
||||||
def middleware(func):
|
def middleware(func):
|
||||||
" Decorator to turn a function into a wsgi middleware "
|
" Decorator to turn a function into a wsgi middleware "
|
||||||
|
|
Loading…
Reference in New Issue