aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2012-03-10 09:17:37 +0100
committercedricbonhomme <devnull@localhost>2012-03-10 09:17:37 +0100
commitffdba0b5cfcdabb933115545dde3ad28f39607d4 (patch)
treea89be948669e2957a49414ede1923f722d2ae1fc
parenttop_words is not an attribute of Root(). (diff)
downloadnewspipe-ffdba0b5cfcdabb933115545dde3ad28f39607d4.tar.gz
newspipe-ffdba0b5cfcdabb933115545dde3ad28f39607d4.tar.bz2
newspipe-ffdba0b5cfcdabb933115545dde3ad28f39607d4.zip
The path of the SQLite base is useless. Configuration of the MongoDB database is in ./cgf/pyaggr3g470r.cfg-sample.
-rwxr-xr-xcfg/pyAggr3g470r.cfg-sample1
-rwxr-xr-xutils.py2
2 files changed, 0 insertions, 3 deletions
diff --git a/cfg/pyAggr3g470r.cfg-sample b/cfg/pyAggr3g470r.cfg-sample
index 2e90df68..95db75c5 100755
--- a/cfg/pyAggr3g470r.cfg-sample
+++ b/cfg/pyAggr3g470r.cfg-sample
@@ -1,5 +1,4 @@
[global]
-sqlitebase = ./var/feed.db
max_nb_articles = 50
[MongoDB]
address = 127.0.0.1
diff --git a/utils.py b/utils.py
index 047ed329..e4841037 100755
--- a/utils.py
+++ b/utils.py
@@ -78,8 +78,6 @@ MONGODB_PORT = int(config.get('MongoDB', 'port'))
MONGODB_USER = config.get('MongoDB', 'user')
MONGODB_PASSWORD = config.get('MongoDB', 'password')
-sqlite_base = os.path.abspath(config.get('global', 'sqlitebase'))
-
MAX_NB_ARTICLES = int(config.get('global', 'max_nb_articles'))
mail_from = config.get('mail','mail_from')
bgstack15