aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/bowdst.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/bowdst.py b/python/bowdst.py
index 79658f89..458dbd10 100644
--- a/python/bowdst.py
+++ b/python/bowdst.py
@@ -28,7 +28,7 @@ def download_messages(em):
).date()
p = DAILY_DIR / str(date) / "Reports" / fname
if not p.parent.exists():
- p.parent.mkdir(parents=True)
+ p.parent.mkdir(parents=True, exist_ok=True)
if not p.exists():
p.write_bytes(attach.content)