Browse Source

manage_sql.py: `return True` was missing from sql_conn()

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

1
manage_sql.py

@ -53,6 +53,7 @@ class HandleSql:
global conn
conn = pymysql.connect(host=SQL_HOST, db=SQL_DB, user=SQL_USER, passwd=SQL_PWD)
cur = conn.cursor()
return True
except pymysql.DatabaseError as error:
print(error)

Loading…
Cancel
Save