You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
文件server/server.py的第90-93配置数据库的这个代码:
if dict.has_key("user") and dict.has_key("host") and dict.has_key("host"):
dbpool.initPool({"default":dbconfig})
else:
dbpool.initPool(dbconfig)
dict.has_key是无效的吧。你的意思是dbconfig.has_key吗?两次重复的判断host的键值,是不是后面应该是passwd或者port什么的。
The text was updated successfully, but these errors were encountered:
文件server/server.py的第90-93配置数据库的这个代码:
if dict.has_key("user") and dict.has_key("host") and dict.has_key("host"):
dbpool.initPool({"default":dbconfig})
else:
dbpool.initPool(dbconfig)
dict.has_key是无效的吧。你的意思是dbconfig.has_key吗?两次重复的判断host的键值,是不是后面应该是passwd或者port什么的。
The text was updated successfully, but these errors were encountered: