Browse Source

Error when applying changes to RSS-feeds

Closes #1005
tags/2.3.0Alpha1
Safihre 8 years ago
parent
commit
f85f4de5ff
  1. 11
      sabnzbd/rss.py

11
sabnzbd/rss.py

@ -306,15 +306,18 @@ class RSSQueue(object):
all_entries.extend(entries)
entries = all_entries
# Error in readout
if readout and not entries:
return unicoder(msg)
# In case of a new feed
if feed not in self.jobs:
self.jobs[feed] = {}
jobs = self.jobs[feed]
# Error in readout or now new readout
if readout:
if not entries:
return unicoder(msg)
else:
entries = jobs.keys()
# Filter out valid new links
for entry in entries:
if self.shutdown:

Loading…
Cancel
Save