bugfix memorizer

This commit is contained in:
Joerg Franke 2018-07-05 09:04:59 +02:00
parent 3cb35e5e81
commit 7d25a0f972

View File

@ -28,7 +28,7 @@ class DataMemorizer():
else:
self.tmp_dir = pathlib.Path(tmp_dir)
if not self.tmp_dir.exists():
if not self.tmp_dir.is_dir():
self.tmp_dir.mkdir(parents=True, exist_ok=True)
def __call__(self, *args, **kwargs):