aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/collateral/baml_isda.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/collateral/baml_isda.py b/python/collateral/baml_isda.py
index ac8db16a..9794e02a 100644
--- a/python/collateral/baml_isda.py
+++ b/python/collateral/baml_isda.py
@@ -52,7 +52,7 @@ def download_from_secure_id(
if r.headers["content-type"] == "application/octet-stream":
with zipfile.ZipFile(BytesIO(r.content)) as z:
for f in z.namelist():
- if not f.endswith("html"):
+ if not f.endswith("html") and not (path / f).exists():
z.extract(f, path=path)