Run "After" even when debug mode is on
parent
ad2673f474
commit
67fc5f06f8
|
@ -811,9 +811,10 @@ def cgi_app(environ, start_response):
|
||||||
start_response(headers['status'], headers.items())
|
start_response(headers['status'], headers.items())
|
||||||
|
|
||||||
rss = Gather(rss, url, cache, options)
|
rss = Gather(rss, url, cache, options)
|
||||||
|
out = After(rss, options)
|
||||||
|
|
||||||
if not DEBUG and not options.silent:
|
if not DEBUG and not options.silent:
|
||||||
return After(rss, options)
|
return out
|
||||||
|
|
||||||
log('done')
|
log('done')
|
||||||
|
|
||||||
|
@ -867,9 +868,10 @@ def cli_app():
|
||||||
url, cache = Init(url, os.path.expanduser('~/.cache/morss'), options)
|
url, cache = Init(url, os.path.expanduser('~/.cache/morss'), options)
|
||||||
rss = Fetch(url, cache, options)
|
rss = Fetch(url, cache, options)
|
||||||
rss = Gather(rss, url, cache, options)
|
rss = Gather(rss, url, cache, options)
|
||||||
|
out = After(rss, options)
|
||||||
|
|
||||||
if not DEBUG and not options.silent:
|
if not DEBUG and not options.silent:
|
||||||
print After(rss, options)
|
print out
|
||||||
|
|
||||||
log('done')
|
log('done')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue