Skip to content
Snippets Groups Projects
Commit 274bbbcf authored by Pierre-Gilles LEVALLOIS's avatar Pierre-Gilles LEVALLOIS
Browse files

debug

parent cdfb7973
1 merge request!6Fully functional version that calculate layer with all stages
Pipeline #60368 canceled
......@@ -856,7 +856,7 @@ def getProgress(DBcursor, DBSchema, codeInsee, id_factor=None):
debugLog(style.YELLOW, qry, logging.INFO)
DBcursor.execute(qry)
results = DBcursor.fetchall()
debugLog(style.YELLOW, results, logging.INFO)
debugLog(style.YELLOW, "{}".format(results), logging.INFO)
dataValues = results[0]['count']
# dataValues = DBcursor.fetchall()[0][0] # Accéder à l'élément à l'indice 0 de la première liste
return dataValues
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment