Create temp dir folder in constructor

This commit is contained in:
I-Al-Istannen 2020-04-20 17:43:28 +02:00
parent 154d6b29dd
commit a9e6e7883d

View File

@ -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."""