From ff381a025bdb0b3ade56a59b16ff87dfff1c5caa Mon Sep 17 00:00:00 2001 From: Richard Offer Date: Sun, 3 Dec 2023 08:08:17 +0000 Subject: [PATCH] Handle the case where bootstrap has existing has existing directory --- randeli/cmds/bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/randeli/cmds/bootstrap.py b/randeli/cmds/bootstrap.py index 2300ce7..07fb180 100644 --- a/randeli/cmds/bootstrap.py +++ b/randeli/cmds/bootstrap.py @@ -92,7 +92,7 @@ def cli(ctx, download, force): config.filename = cfg_path - cfg_path.parent.mkdir(parents=True) + cfg_path.parent.mkdir(parents=True, exist_ok=True) config.write()