Commit 6ffd8dfe authored by Sébastien Morele's avatar Sébastien Morele
Browse files

fix missprint

parent 01c9e000
......@@ -70,7 +70,7 @@ class InterventionRessource(object):
with self.con:
self.cur = self.con.cursor()
self.con.execute('UPDATE Interventions SET title = "{}", description = "{}" WHERE id={}'.format(title, description, intervention_id))
self.cur.execute('UPDATE Interventions SET title = "{}", description = "{}" WHERE id={}'.format(title, description, intervention_id))
resp.body = data['title']
resp.status = falcon.HTTP_200
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment