From 7d25a0f972344213754df9b97117f1073c0465cd Mon Sep 17 00:00:00 2001 From: Joerg Franke Date: Thu, 5 Jul 2018 09:04:59 +0200 Subject: [PATCH] bugfix memorizer --- adnc/data/utils/data_memorizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adnc/data/utils/data_memorizer.py b/adnc/data/utils/data_memorizer.py index b3765e0..4521852 100755 --- a/adnc/data/utils/data_memorizer.py +++ b/adnc/data/utils/data_memorizer.py @@ -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):