mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
Fixing issue around missing feeds in subscription folders during opml export. Just ignore missing feeds.
This commit is contained in:
parent
129875723d
commit
48f2ed5860
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class OPMLExporter:
|
||||||
|
|
||||||
def process_outline(self, body, folders):
|
def process_outline(self, body, folders):
|
||||||
for obj in folders:
|
for obj in folders:
|
||||||
if isinstance(obj, int):
|
if isinstance(obj, int) and obj in self.feeds:
|
||||||
feed = self.feeds[obj]
|
feed = self.feeds[obj]
|
||||||
feed_attrs = self.make_feed_row(feed)
|
feed_attrs = self.make_feed_row(feed)
|
||||||
body.append(Element('outline', feed_attrs))
|
body.append(Element('outline', feed_attrs))
|
||||||
|
|
Loading…
Add table
Reference in a new issue