From 274bbbcfd10374de8c7da0f9eeb94bc4667ecacf Mon Sep 17 00:00:00 2001 From: Pierre-Gilles LEVALLOIS <plevallois@grandlyon.com> Date: Tue, 16 May 2023 14:02:46 +0000 Subject: [PATCH] debug --- Dockerfiles/python/scripts/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfiles/python/scripts/utils.py b/Dockerfiles/python/scripts/utils.py index 249b7e9..498885e 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 -- GitLab