Browse Source

manage_sql.py: sql_checkconn() rename (last n missing) and description correction

master
Alarig Le Lay 2 years ago
parent
commit
64a935b301
Signed by: alarig
GPG Key ID: 7AFE62C6DF8BCDEC
  1. 4
      manage_sql.py

4
manage_sql.py

@ -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…
Cancel
Save