Argument "silent" prevents from outputting feed

Also fixes small indentation typo (non blocking though)
master
pictuga 2013-11-30 19:39:27 +01:00
parent 1d10d30173
commit fde5d3e8c5
1 changed files with 2 additions and 2 deletions

View File

@ -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.'