diff --git a/manage_sql.py b/manage_sql.py index 8877e30..fcd39d4 100755 --- a/manage_sql.py +++ b/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)