Skip to content

Commit 2780823

Browse files
authored
Update __init__.py
1 parent 60c4656 commit 2780823

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def enregistrer_client():
7373
def formulaire_fiche_nom(post_nom):
7474
conn = sqlite3.connect('database.db')
7575
cursor = conn.cursor()
76-
cursor.execute('SELECT * FROM clients WHERE nom = ?', (post_nom))
76+
cursor.execute('SELECT * FROM clients WHERE nom = ?', (post_nom,))
7777
data = cursor.fetchall()
7878
conn.close()
7979
# Rendre le template HTML et transmettre les données

0 commit comments

Comments
 (0)