提交 c24d71fe 编写于 作者: 魔箭胖胖's avatar 魔箭胖胖

add Annotate

上级 eeb27515
......@@ -58,7 +58,7 @@ class InitDataBase():
if self.db_type not in ['mysql', 'sqlite']:
LOGGER.logger.error("database type configuration error")
raise Exception('database type configuration error')
raise Error('database type configuration error')
def __read_config_file(self):
"""
......
......@@ -44,7 +44,7 @@ class DBHelper():
if self.user_name is None:
self.user_name = self._readconfig.get_database('user_name')
self.password = password
self.password = passwrod
if self.password is None:
self.password = self._readconfig.get_database('password')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册