Skip to content

Commit 2d09e7a

Browse files
authored
Update mysql_demo.py
1 parent 48bc0bd commit 2d09e7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

demo/mysql_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def connect(self):
2626
db_user = self.info['db_user']
2727
db_host = self.info['db_host']
2828
db_port = int(self.info['db_port'])
29-
db_name = self.info['db_name']
29+
db_name = self.db_name
3030
db_pwd = self.info['db_password']
3131

3232
self.conn = pymysql.connect(

0 commit comments

Comments
 (0)