diff options
-rw-r--r-- | unbiased/sources/base.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/unbiased/sources/base.py b/unbiased/sources/base.py index b4bff75..af0a53e 100644 --- a/unbiased/sources/base.py +++ b/unbiased/sources/base.py @@ -110,7 +110,8 @@ class NewsSource(object): articles = cls._remove_bad_stories(articles, 'url', cls.bad_urls) new_articles.append(articles) if len(new_articles[0]) == 0 and len(new_articles[1]) > 0: - new_articles[0].append(new_articles[1].pop()) + new_articles[0] = new_articles[0] + new_articles[1][:1] + new_articles[1] = new_articles[1][1:] return tuple(tuple(x) for x in new_articles) @classmethod |