Browse Source

Fixed a parameter name in the connect fonction in mongodb_datasource utils.py module

Roland Haroutiounian 9 years ago
parent
commit
a9b475d912
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      plugins/mongodb_datasource/utils.py

+ 1
- 1
plugins/mongodb_datasource/utils.py View File

@@ -54,7 +54,7 @@ def connection_string(host, port, db_name, username, password):
54 54
 def connect(host, port, db_name, username, password):
55 55
     connection = MongoClient(
56 56
         connection_string(host, port, db_name, username, password))
57
-    database = connection[dbname]
57
+    database = connection[db_name]
58 58
     return database
59 59
 
60 60
 

Loading…
Cancel
Save