From 3cac5c002843a4d0cc4c4af8d128d5c5e6fb13fc Mon Sep 17 00:00:00 2001 From: marcus-snx Date: Thu, 19 Dec 2024 14:11:55 +0200 Subject: [PATCH] Ignore temp dirs --- indexers/scripts/clean_parquet.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/indexers/scripts/clean_parquet.py b/indexers/scripts/clean_parquet.py index fdd735f0..397fd38d 100644 --- a/indexers/scripts/clean_parquet.py +++ b/indexers/scripts/clean_parquet.py @@ -20,6 +20,8 @@ def clean_parquet_files(network_name: str, protocol_name: str): for block_range_dir in sorted(raw_path.iterdir()): if not block_range_dir.is_dir(): continue + if "temp" in block_range_dir.name: + continue block_range = block_range_dir.name empty_files = 0