aboutsummaryrefslogtreecommitdiff
path: root/source/pyAggr3g470r.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2012-05-03 21:49:52 +0200
committercedricbonhomme <devnull@localhost>2012-05-03 21:49:52 +0200
commit10c8465e4ff3914b1d7f444b743ff1d3c4911d98 (patch)
tree34d6b833b17bb24f6050d42b2b6769025dbe6af2 /source/pyAggr3g470r.py
parentTests detection of feed links in HTML page. (diff)
downloadnewspipe-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-xsource/pyAggr3g470r.py3
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):
"""
bgstack15