Fix #1588 (Recipe for "The Economist")

This commit is contained in:
Kovid Goyal 2009-01-10 16:28:09 -08:00
parent ba463864d0
commit 399b6bbcb0

View File

@ -49,8 +49,10 @@ class Economist(BasicNewsRecipe):
if not index_started:
continue
text = string.capwords(text)
feeds[text] = []
ans.append(text)
if text not in feeds.keys():
feeds[text] = []
if text not in ans:
ans.append(text)
key = text
continue
if key is None: