From a9e6e7883d888077602a154f7b9e4c30e962d848 Mon Sep 17 00:00:00 2001 From: I-Al-Istannen Date: Mon, 20 Apr 2020 17:43:28 +0200 Subject: [PATCH] Create temp dir folder in constructor --- PFERD/tmp_dir.py | 1 + 1 file changed, 1 insertion(+) diff --git a/PFERD/tmp_dir.py b/PFERD/tmp_dir.py index fabd38c..4b29df4 100644 --- a/PFERD/tmp_dir.py +++ b/PFERD/tmp_dir.py @@ -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."""