aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/mongodb.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/mongodb.py b/source/mongodb.py
index fd605465..2ff241a9 100644
--- a/source/mongodb.py
+++ b/source/mongodb.py
@@ -22,7 +22,6 @@ class Articles(object):
self.connection = pymongo.connection.Connection(url, port)
self.db = pymongo.database.Database(self.connection, db_name)
self.db.authenticate(user, password)
- self.db = self.connection[db_name]
def add_collection(self, new_collection):
"""
bgstack15