From fde5d3e8c5d70ca136c5222027296b40440d9703 Mon Sep 17 00:00:00 2001 From: pictuga Date: Sat, 30 Nov 2013 19:39:27 +0100 Subject: [PATCH] Argument "silent" prevents from outputting feed Also fixes small indentation typo (non blocking though) --- morss.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/morss.py b/morss.py index 032a169..d5d75a5 100644 --- a/morss.py +++ b/morss.py @@ -677,8 +677,8 @@ if __name__ == '__main__': RSS = Gather(url, cachePath, options) - if RSS is not False and not options.progress and not DEBUG: - print RSS + if RSS is not False and not options.progress and not DEBUG and not options.silent: + print RSS if RSS is False and 'progress' not in options: print 'Error fetching feed.'