From f47f4f96cabb43403c89f7ce6608fc847788565c Mon Sep 17 00:00:00 2001 From: Luke Stebbing Date: Wed, 28 Sep 2022 09:51:35 -0700 Subject: [PATCH] Create parents of traces/ --- ice/trace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ice/trace.py b/ice/trace.py index 4cd5922a..8334829a 100644 --- a/ice/trace.py +++ b/ice/trace.py @@ -33,7 +33,7 @@ def make_id() -> str: trace_dir = Path(__file__).parent.parent / "ui" / "public" / "traces" -trace_dir.mkdir(exist_ok=True) +trace_dir.mkdir(parents=True, exist_ok=True) trace_file: IO[str] | None = None