avoid overwriting dbName
This commit is contained in:
parent
8070364c35
commit
f05f34f09a
1 changed files with 1 additions and 1 deletions
2
monco.py
2
monco.py
|
@ -107,7 +107,7 @@ class Monco(object):
|
||||||
"""
|
"""
|
||||||
self._url = url
|
self._url = url
|
||||||
self._dbName = dbName
|
self._dbName = dbName
|
||||||
self.connect(url)
|
self.connect()
|
||||||
|
|
||||||
def connect(self, dbName=None, url=None):
|
def connect(self, dbName=None, url=None):
|
||||||
"""Connect to the database.
|
"""Connect to the database.
|
||||||
|
|
Loading…
Reference in a new issue