Mercurial > code > home > repos > sco-bot
diff scobot/index/access.py @ 15:6ed25bcaaf1f
add prefect and rebuild flow to k8s
author | drewp@bigasterisk.com |
---|---|
date | Fri, 19 Jul 2024 00:30:47 -0700 |
parents | 403eff4a16c8 |
children | 7a87ba2f00d9 |
line wrap: on
line diff
--- a/scobot/index/access.py Thu Jul 11 22:11:41 2024 -0700 +++ b/scobot/index/access.py Fri Jul 19 00:30:47 2024 -0700 @@ -12,7 +12,7 @@ def __init__(self, indexDir: Path, delete_existing=True): if delete_existing: - shutil.rmtree(indexDir) + shutil.rmtree(indexDir, ignore_errors=True) indexDir.mkdir(parents=True, exist_ok=True) self.ix = create_in(indexDir, schema) else: