fix db session

This commit is contained in:
jxxghp
2023-09-04 20:40:17 +08:00
parent 712af24a72
commit aca1673ee3
5 changed files with 0 additions and 24 deletions

View File

@ -41,7 +41,3 @@ class DbOper:
self._db = db
else:
self._db = ScopedSession()
def __del__(self):
if self._db:
self._db.close()