From f0f9d8cb3df543f4f582a910595398c86a25ce74 Mon Sep 17 00:00:00 2001 From: Colin Maudry Date: Sat, 14 Mar 2026 00:15:53 +0100 Subject: [PATCH] dashboard_acheteur_departement_code est une liste --- src/pages/statistiques.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/pages/statistiques.py b/src/pages/statistiques.py index 1876dfa..0237abb 100644 --- a/src/pages/statistiques.py +++ b/src/pages/statistiques.py @@ -146,10 +146,7 @@ def udpate_dashboard_cards( pl.col("acheteur_categorie").is_in(dashboard_acheteur_categorie) ) - if ( - dashboard_acheteur_departement_code - and len(dashboard_acheteur_departement_code) >= 2 - ): + if dashboard_acheteur_departement_code: lff = lff.filter( pl.col("acheteur_departement_code").is_in( dashboard_acheteur_departement_code