diff options
author | cedricbonhomme <devnull@localhost> | 2012-05-03 21:49:52 +0200 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2012-05-03 21:49:52 +0200 |
commit | 10c8465e4ff3914b1d7f444b743ff1d3c4911d98 (patch) | |
tree | 34d6b833b17bb24f6050d42b2b6769025dbe6af2 /source/pyAggr3g470r.py | |
parent | Tests detection of feed links in HTML page. (diff) | |
download | newspipe-10c8465e4ff3914b1d7f444b743ff1d3c4911d98.tar.gz newspipe-10c8465e4ff3914b1d7f444b743ff1d3c4911d98.tar.bz2 newspipe-10c8465e4ff3914b1d7f444b743ff1d3c4911d98.zip |
Distant MongoDB connection working (tested with AlwaysData).
Diffstat (limited to 'source/pyAggr3g470r.py')
-rwxr-xr-x | source/pyAggr3g470r.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/pyAggr3g470r.py b/source/pyAggr3g470r.py index 7b16ed18..9b5eb6ce 100755 --- a/source/pyAggr3g470r.py +++ b/source/pyAggr3g470r.py @@ -109,7 +109,8 @@ class Root: def __init__(self): """ """ - self.mongo = mongodb.Articles(conf.MONGODB_ADDRESS, conf.MONGODB_PORT) + self.mongo = mongodb.Articles(conf.MONGODB_ADDRESS, conf.MONGODB_PORT, \ + conf.MONGODB_DBNAME, conf.MONGODB_USER, conf.MONGODB_PASSWORD) def index(self): """ |