aboutsummaryrefslogtreecommitdiff
path: root/feedgetter.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-04-15 13:15:05 +0200
committercedricbonhomme <devnull@localhost>2010-04-15 13:15:05 +0200
commita8fe3cf2ac934f4fe3e9264d9a3e3ee6ac5131bf (patch)
tree8c3dfa9644d77f039a297dd2d5099feea068f551 /feedgetter.py
parentIntroduction of a Google Buzz button to pyAggr3g470r. (diff)
downloadnewspipe-a8fe3cf2ac934f4fe3e9264d9a3e3ee6ac5131bf.tar.gz
newspipe-a8fe3cf2ac934f4fe3e9264d9a3e3ee6ac5131bf.tar.bz2
newspipe-a8fe3cf2ac934f4fe3e9264d9a3e3ee6ac5131bf.zip
Mark or unmark an article as favorites.
Diffstat (limited to 'feedgetter.py')
-rwxr-xr-xfeedgetter.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/feedgetter.py b/feedgetter.py
index 278cc58d..2fb43bc5 100755
--- a/feedgetter.py
+++ b/feedgetter.py
@@ -115,13 +115,14 @@ class FeedGetter(object):
description = ""
try:
- self.c.execute('insert into articles values (?,?,?,?,?,?)', (\
+ self.c.execute('insert into articles values (?,?,?,?,?,?,?)', (\
datetime(*article.updated_parsed[:6]), \
utils.remove_html_tags(article.title.encode('utf-8')), \
article.link.encode('utf-8'), \
description, \
"0", \
- feed_link))
+ feed_link, \
+ "0"))
result = self.c.execute("SELECT mail from feeds WHERE feed_site_link='" + \
a_feed.feed.link.encode('utf-8') + "'").fetchall()
if result[0][0] == "1":
bgstack15