From 0c2faeb686fb496d2ee377479ec4a07fb94802c5 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 14 Mar 2013 23:23:51 +0530 Subject: [PATCH] Update Smithsonian Magazine --- recipes/smith.recipe | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes/smith.recipe b/recipes/smith.recipe index ba972b3761..db45e42fc7 100644 --- a/recipes/smith.recipe +++ b/recipes/smith.recipe @@ -57,5 +57,8 @@ class Smithsonian(BasicNewsRecipe): self.log('\tFound article:', title) articles.append({'title':title, 'url':url, 'description':desc, 'date':''}) + if articles: + feeds[section_title] = articles + ans = [(key, val) for key, val in feeds.iteritems()] return ans