diff options
Diffstat (limited to 'utils.py')
-rwxr-xr-x | utils.py | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -392,15 +392,16 @@ def load_feed(): else: language = "IMPORT_ERROR" - # informations about an article + # informations about the current article article_list = [article_id, article[0], unescape(article[1]), \ article[2], unescape(article[3]), \ article[4], language, article[6]] - + # update the number of favorites articles nb_favorites = nb_favorites + int(article[6]) - + # add the informations about the current article + # to the list of articles of the current feed if feed_id not in articles: try: articles[feed_id] = blist([article_list]) @@ -424,4 +425,4 @@ def load_feed(): LOCKER.release() return (articles, feeds, nb_articles, nb_unread_articles, nb_favorites, nb_mail_notifications) LOCKER.release() - return (articles, feeds, nb_articles, nb_unread_articles, nb_favorites, nb_mail_notifications) + return (articles, feeds, nb_articles, nb_unread_articles, nb_favorites, nb_mail_notifications)
\ No newline at end of file |