avoid overwriting dbName

This commit is contained in:
Davide Alberani 2017-11-26 18:27:49 +01:00
parent 8070364c35
commit f05f34f09a

View file

@ -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.