We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60c4656 commit 2780823Copy full SHA for 2780823
__init__.py
@@ -73,7 +73,7 @@ def enregistrer_client():
73
def formulaire_fiche_nom(post_nom):
74
conn = sqlite3.connect('database.db')
75
cursor = conn.cursor()
76
- cursor.execute('SELECT * FROM clients WHERE nom = ?', (post_nom))
+ cursor.execute('SELECT * FROM clients WHERE nom = ?', (post_nom,))
77
data = cursor.fetchall()
78
conn.close()
79
# Rendre le template HTML et transmettre les données
0 commit comments