aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/baml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/baml.py b/python/baml.py
index ecf68b2a..57038842 100644
--- a/python/baml.py
+++ b/python/baml.py
@@ -22,7 +22,7 @@ def download_messages(em):
continue
if attach.name.endswith("csv"):
p = save_dir / attach.name
- p.parent.mkdir(exist_ok=True)
+ p.parent.mkdir(exist_ok=True, parents=True)
if not p.exists():
p.write_bytes(attach.content)