From c9681d0aa223498f75a6145b5696c3ec4c5a493d Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Mon, 10 Jul 2023 09:40:37 -0400 Subject: [PATCH] .nativedb: ignore an `expired/` subdir --- piker/storage/nativedb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/storage/nativedb.py b/piker/storage/nativedb.py index ff914245..274bf039 100644 --- a/piker/storage/nativedb.py +++ b/piker/storage/nativedb.py @@ -187,7 +187,7 @@ class NativeStorageClient: def index_files(self): for path in self._datadir.iterdir(): - if 'borked' in path.name: + if path.name in {'borked', 'expired',}: continue key: str = path.name.rstrip('.parquet')