Commit e16fc60d authored by Ismail Moumni's avatar Ismail Moumni
Browse files

error in line 111

parent b5b65bd9
Pipeline #1012 failed with stage
in 14 seconds
......@@ -29,3 +29,4 @@ softwares/database/__pycache__/database.cpython-38.pyc
tests/__pycache__/test_match_dict.cpython-38-pytest-6.0.2.pyc
tests/__pycache__/test_match_json.cpython-38-pytest-6.0.2.pyc
tests/__pycache__/test_match_query.cpython-38-pytest-6.0.2.pyc
*/__pycache__/*
\ No newline at end of file
......@@ -49,9 +49,9 @@ def update_database(url:str, job_id: str, before:str, after:str):
update = update.replace('{{url}}', url)
update = update.replace('{{job_id}}', job_id)
print(update)
AM
mycursor.execute(update)
database.commit()
Bonjour monsieur @Pierre Boudes , s il vous plait est ce qu'il n y'a pas de nouvelles par rapport à nos résultats? et si vous pouvez nous donner une idée sur les attestations de réussite quand est ce qu'on pourra les avoir? ( les gens qui ont déjà passé leurs soutenances) it()
print(mycursor.rowcount, "record(s) affected")
return mycursor.rowcount
......@@ -108,7 +108,7 @@ def get_generators():
generators = {}
sql_get_new_job = "SELECT generators.tool, name, basefile, defaultValue from parameters inner join generators on parameters.idGenerator=generators.id"
mycursor = database.cursor(buffered=False)
è mycursor.execute(sql_get_new_job)
mycursor.execute(sql_get_new_job)
myresult = mycursor.fetchall()
mycursor.close()
for result in myresult:
......
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