From 0fc25218ad337c208024b325ec4c0c5656ee893e Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Sun, 22 Apr 2012 23:05:30 +0200 Subject: Added conf.py which is responsible of the load of the configuration. --- source/feedgetter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/feedgetter.py') diff --git a/source/feedgetter.py b/source/feedgetter.py index f713f672..aa25f2a3 100755 --- a/source/feedgetter.py +++ b/source/feedgetter.py @@ -32,6 +32,7 @@ from BeautifulSoup import BeautifulSoup from datetime import datetime +import conf import utils import mongodb @@ -145,7 +146,7 @@ class FeedGetter(object): self.articles.add_articles(articles, feed_id) # send new articles by e-mail if desired. - #threading.Thread(None, utils.send_mail, None, (utils.mail_from, utils.mail_to, \ + #threading.Thread(None, utils.send_mail, None, (conf.mail_from, conf.mail_to, \ #a_feed.feed.title.encode('utf-8'), \ #article_title, description) \ #).start() -- cgit