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: if not index_started:
continue continue
text = string.capwords(text) text = string.capwords(text)
feeds[text] = [] if text not in feeds.keys():
ans.append(text) feeds[text] = []
if text not in ans:
ans.append(text)
key = text key = text
continue continue
if key is None: if key is None: