From 7e53e77d2236b0491471c6137e5b632185cf1e05 Mon Sep 17 00:00:00 2001 From: qloridant Date: Mon, 25 Nov 2024 16:14:36 +0100 Subject: [PATCH] Refacto : remplacer 1/0 par True/False --- macantine/etl/etl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macantine/etl/etl.py b/macantine/etl/etl.py index cd4055c6f..027cbd51f 100644 --- a/macantine/etl/etl.py +++ b/macantine/etl/etl.py @@ -82,9 +82,9 @@ def is_valid(self, filepath) -> bool: logger.error(f"The dataset {self.dataset_name} extraction has errors : ") logger.error(report["errors"]) logger.error(report["tasks"]) - return 0 + return False else: - return 1 + return True class EXTRACTOR(ETL):