diff options
Diffstat (limited to 'utils.py')
-rwxr-xr-x | utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -373,9 +373,9 @@ def load_feed(): feed_object.mail = feed[4] if list_of_articles != []: + list_of_articles.sort(lambda x,y: compare(y[0], x[0])) if MAX_NB_ARTICLES != -1: list_of_articles = list_of_articles[:MAX_NB_ARTICLES] - list_of_articles.sort(lambda x,y: compare(y[0], x[0])) # Walk through the list of articles for the current feed. for article in list_of_articles: sha1_hash.update(article[2].encode('utf-8')) |