From fdef25464fecc8841ae08b63effaae68a68b9a7f Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Fri, 29 Jan 2010 21:42:27 +0100 Subject: Bug fix : error in the address of the SQLite base. --- cfg/pyAggr3g470r.cfg | 2 +- feedgetter.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cfg/pyAggr3g470r.cfg b/cfg/pyAggr3g470r.cfg index c3c5e01a..b4af6af4 100644 --- a/cfg/pyAggr3g470r.cfg +++ b/cfg/pyAggr3g470r.cfg @@ -1,2 +1,2 @@ [global] -path = /home/cedric/prog/python/pyAggr3g470r/ +path = /home/cedric/prog/python/pyaggr3g470r/ diff --git a/feedgetter.py b/feedgetter.py index ed0ec132..0884f7e1 100644 --- a/feedgetter.py +++ b/feedgetter.py @@ -36,7 +36,7 @@ def retrieve_feed(): """ Parse the file 'feeds.lst' and launch a thread for each RSS feed. """ - conn = sqlite3.connect("feed.db", isolation_level = None) + conn = sqlite3.connect("./var/feed.db", isolation_level = None) c = conn.cursor() c.execute('''create table rss_feed (date text, feed_title text, feed_site_link text, article_title text , article_link text)''') -- cgit