Browse Source

avoid overwriting dbName

Davide Alberani 6 years ago
parent
commit
f05f34f09a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      monco.py

+ 1 - 1
monco.py

@@ -107,7 +107,7 @@ class Monco(object):
         """
         self._url = url
         self._dbName = dbName
-        self.connect(url)
+        self.connect()
 
     def connect(self, dbName=None, url=None):
         """Connect to the database.