mirror of
https://github.com/JoergFranke/ADNC.git
synced 2024-11-17 13:58:03 +08:00
bugfix memorizer
This commit is contained in:
parent
3cb35e5e81
commit
7d25a0f972
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user