Argument "silent" prevents from outputting feed
Also fixes small indentation typo (non blocking though)master
parent
1d10d30173
commit
fde5d3e8c5
4
morss.py
4
morss.py
|
@ -677,8 +677,8 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
RSS = Gather(url, cachePath, options)
|
RSS = Gather(url, cachePath, options)
|
||||||
|
|
||||||
if RSS is not False and not options.progress and not DEBUG:
|
if RSS is not False and not options.progress and not DEBUG and not options.silent:
|
||||||
print RSS
|
print RSS
|
||||||
|
|
||||||
if RSS is False and 'progress' not in options:
|
if RSS is False and 'progress' not in options:
|
||||||
print 'Error fetching feed.'
|
print 'Error fetching feed.'
|
||||||
|
|
Loading…
Reference in New Issue