fix python imports

This commit is contained in:
Julien Aldon
2026-01-29 15:26:33 +01:00
parent 2e71732c7d
commit 73c1364c40
4 changed files with 9 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
from .secret import host, user, password, database
from back.secret import host, user, password, database
import pymysql.cursors
@@ -14,9 +14,4 @@ def get_db():
try:
yield connection
finally:
connection.close()
# cursor = connection.cursor()
# cursor.execute(sql, ())
# cursor.fetchall()
# connection.commit()
connection.close()