Migrate to PostgreSQL #39
|
@ -24,7 +24,8 @@ class UpdateManager:
|
|||
feeds = self.database.find_feeds()
|
||||
self.log.info('Feeds to update: %d', len(feeds))
|
||||
|
||||
for feed_id, feed_url in feeds:
|
||||
for feed in feeds:
|
||||
feed_id, feed_url = feed.values()
|
||||
self.log.info('Processing [%d] %s', feed_id, feed_url)
|
||||
feed = self.rss_reader.get_feed(feed_url)
|
||||
new_items = feed.items
|
||||
|
|
Loading…
Reference in a new issue