mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-17 19:59:29 +00:00
Fix dbcursor issue
This commit is contained in:
@@ -80,7 +80,7 @@ class BaseDBService(BaseService):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def _dbcursor(self):
|
def _dbcursor(self):
|
||||||
return self._db.dbcursor()
|
return self._db.cursor()
|
||||||
|
|
||||||
def __del__(self):
|
def __del__(self):
|
||||||
if hasattr(self, '_db'):
|
if hasattr(self, '_db'):
|
||||||
|
|||||||
Reference in New Issue
Block a user