Allow mkdir to create parents alike other file operations do.
This commit is contained in:
parent
4ae31fe241
commit
4bb7d091e4
|
@ -22,7 +22,7 @@ class MkDir(ControlBase):
|
||||||
|
|
||||||
def __call__(self):
|
def __call__(self):
|
||||||
path = config.config.path / filename.sanitize(self.path)
|
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):
|
class Rename(ControlBase):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user