manage_sql.py: sql_checkconn() rename (last n missing) and description correction
This commit is contained in:
parent
cd8db520bc
commit
64a935b301
|
@ -37,8 +37,8 @@ class HandleSql:
|
|||
"""Class to handle sql connection."""
|
||||
|
||||
@staticmethod
|
||||
def sql_checkcon():
|
||||
"""Init sql connection."""
|
||||
def sql_checkconn():
|
||||
"""Check MySQL connection."""
|
||||
try:
|
||||
global conn
|
||||
conn = pymysql.connect(host=SQL_HOST, db=SQL_DB, user=SQL_USER, passwd=SQL_PWD)
|
||||
|
|
Loading…
Reference in a new issue