mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01:00
Create temp dir folder in constructor
This commit is contained in:
parent
154d6b29dd
commit
a9e6e7883d
@ -18,6 +18,7 @@ class TmpDir():
|
||||
"""Create a new temporary folder for the given path."""
|
||||
self._counter = 0
|
||||
self._path = path
|
||||
self._path.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
def __str__(self) -> str:
|
||||
"""Format the folder as a string."""
|
||||
|
Loading…
Reference in New Issue
Block a user