Skip to content

Commit

Permalink
Refacto : remplacer 1/0 par True/False
Browse files Browse the repository at this point in the history
  • Loading branch information
qloridant committed Nov 25, 2024
1 parent 8a7c367 commit 7e53e77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions macantine/etl/etl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 7e53e77

Please sign in to comment.