aboutsummaryrefslogtreecommitdiff
path: root/pyAggr3g470r.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2012-03-09 08:13:21 +0100
committercedricbonhomme <devnull@localhost>2012-03-09 08:13:21 +0100
commit0e8780ff6ba24cc0b370037e71a9c6aa25bca192 (patch)
tree75cea6d48e04faed448a42562bb9a692af1f8442 /pyAggr3g470r.py
parentUpdated revision date. (diff)
downloadnewspipe-0e8780ff6ba24cc0b370037e71a9c6aa25bca192.tar.gz
newspipe-0e8780ff6ba24cc0b370037e71a9c6aa25bca192.tar.bz2
newspipe-0e8780ff6ba24cc0b370037e71a9c6aa25bca192.zip
MongoDB configuration (address, port, username and password) is loaded at launch.
Diffstat (limited to 'pyAggr3g470r.py')
-rwxr-xr-xpyAggr3g470r.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index aeb28558..ae7af2d4 100755
--- a/pyAggr3g470r.py
+++ b/pyAggr3g470r.py
@@ -109,7 +109,7 @@ class Root:
def __init__(self):
"""
"""
- self.mongo = mongodb.Articles()
+ self.mongo = mongodb.Articles(utils.MONGODB_ADDRESS, utils.MONGODB_PORT)
def index(self):
"""
bgstack15