From 10c8465e4ff3914b1d7f444b743ff1d3c4911d98 Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Thu, 3 May 2012 21:49:52 +0200 Subject: Distant MongoDB connection working (tested with AlwaysData). --- source/pyAggr3g470r.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/pyAggr3g470r.py') 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): """ -- cgit