diff options
author | cedricbonhomme <devnull@localhost> | 2010-02-28 12:44:40 +0100 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2010-02-28 12:44:40 +0100 |
commit | 286d33a3362d46de7f8a5419ad2dd8a5ea1c51d5 (patch) | |
tree | 7848910b31b08042d92eb7cf03e10b93465d4c68 /pyAggr3g470r.py | |
parent | Minor enhancement. (diff) | |
download | newspipe-286d33a3362d46de7f8a5419ad2dd8a5ea1c51d5.tar.gz newspipe-286d33a3362d46de7f8a5419ad2dd8a5ea1c51d5.tar.bz2 newspipe-286d33a3362d46de7f8a5419ad2dd8a5ea1c51d5.zip |
Minor enhancements of the code.
Diffstat (limited to 'pyAggr3g470r.py')
-rw-r--r-- | pyAggr3g470r.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index 200506bb..c197033f 100644 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -408,10 +408,12 @@ class Root: c.execute("UPDATE articles SET article_readed=1") # Mark all articles from a feed as read. elif param == "Feed" or param == "Feed_FromMainPage": - c.execute("UPDATE articles SET article_readed=1 WHERE feed_link='" + self.feeds[identifiant][4].encode('utf-8') + "'") + c.execute("UPDATE articles SET article_readed=1 WHERE feed_link='" + \ + self.feeds[identifiant][4].encode('utf-8') + "'") # Mark an article as read. elif param == "Article": - c.execute("UPDATE articles SET article_readed=1 WHERE article_link='" + identifiant + "'") + c.execute("UPDATE articles SET article_readed=1 WHERE article_link='" + \ + identifiant + "'") conn.commit() c.close() except Exception, e: |