@@ -7,7 +7,7 @@ import MySQLdb
connection = MySQLdb.connect(host = "localhost", user = "user", passwd = "password", db = "dolibarr_database")
cursor = connection.cursor()
-cursor.execute("select count(*) from llx_adherent")
+cursor.execute("select count(*) from llx_adherent where statut = '1'")
row = cursor.fetchone()