Skip to content
Snippets Groups Projects
Commit b468c387 authored by Pierre-Gilles Levallois's avatar Pierre-Gilles Levallois
Browse files

* instead of 1

parent 8f206bb8
No related branches found
No related tags found
No related merge requests found
Pipeline #102363 passed
......@@ -852,7 +852,7 @@ def getProgress(DBcursor, DBSchema, codeInsee, id_factor=None):
stage = 'factors'
qryFilter = ' and id_factor = {}'.format(id_factor)
qry = 'SELECT count(1) FROM '+ DBSchema + '.' + stage + '_progress WHERE insee = ' + codeInsee + qryFilter
qry = 'SELECT count(*) FROM '+ DBSchema + '.' + stage + '_progress WHERE insee = ' + codeInsee + qryFilter
debugLog(style.YELLOW, qry, logging.INFO)
DBcursor.execute(qry)
# results = DBcursor.fetchall()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment