bugfix
This commit is contained in:
parent
f7ad20112b
commit
11945861b2
@ -1,6 +1,6 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name=sqlor
|
name=sqlor
|
||||||
version = 1.1.0
|
version = 1.1.1
|
||||||
description = a wrap for DBAPI, to make python run sql easy and safe
|
description = a wrap for DBAPI, to make python run sql easy and safe
|
||||||
authors = yu moqing
|
authors = yu moqing
|
||||||
author_email = yumoqing@gmail.com
|
author_email = yumoqing@gmail.com
|
||||||
|
|||||||
@ -183,7 +183,7 @@ class DBPools:
|
|||||||
self.meta = {}
|
self.meta = {}
|
||||||
|
|
||||||
def get_dbname(self, name):
|
def get_dbname(self, name):
|
||||||
desc = self.database.get(name)
|
desc = self.databases.get(name)
|
||||||
if not desc:
|
if not desc:
|
||||||
return None
|
return None
|
||||||
return desc.get('dbname')
|
return desc.get('dbname')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user