fix Newsfeed and GenericBackend

This commit is contained in:
Romain Bignon 2012-02-18 17:40:22 +01:00
commit a0e4171af3
3 changed files with 6 additions and 7 deletions

View file

@ -72,7 +72,7 @@ class GenericNewspaperBackend(BaseBackend, ICapMessages):
return thread
def iter_threads(self):
for article in Newsfeed(self.RSS_FEED, self.RSSID).iter_entries():
for article in Newsfeed(self.RSS_FEED, GenericNewspaperBackend.RSSID).iter_entries():
thread = Thread(article.id)
thread.title = article.title
thread.date = article.datetime