From 4bb7d091e452547c608736219cf25470257cb15a Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Wed, 8 Nov 2023 12:07:25 -0800 Subject: [PATCH] Allow mkdir to create parents alike other file operations do. --- cista/protocol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cista/protocol.py b/cista/protocol.py index 131b0e0..a949d67 100644 --- a/cista/protocol.py +++ b/cista/protocol.py @@ -22,7 +22,7 @@ class MkDir(ControlBase): def __call__(self): path = config.config.path / filename.sanitize(self.path) - path.mkdir(parents=False, exist_ok=False) + path.mkdir(parents=True, exist_ok=False) class Rename(ControlBase):