This commit is contained in:
yumoqing 2025-10-17 18:02:33 +08:00
parent f7ad20112b
commit 11945861b2
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[metadata]
name=sqlor
version = 1.1.0
version = 1.1.1
description = a wrap for DBAPI, to make python run sql easy and safe
authors = yu moqing
author_email = yumoqing@gmail.com

View File

@ -183,7 +183,7 @@ class DBPools:
self.meta = {}
def get_dbname(self, name):
desc = self.database.get(name)
desc = self.databases.get(name)
if not desc:
return None
return desc.get('dbname')