diff --git a/Dockerfiles/python/scripts/utils.py b/Dockerfiles/python/scripts/utils.py index 249b7e9cb57b1db97bd5d856648b23e29f304982..498885ecc9caa3286fc6fede0251eb9fb5a0186e 100644 --- a/Dockerfiles/python/scripts/utils.py +++ b/Dockerfiles/python/scripts/utils.py @@ -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