From 5438f95f34dc3985f9099a51178e94eec456d354 Mon Sep 17 00:00:00 2001 From: Lonami Date: Mon, 17 Dec 2018 17:55:53 +0100 Subject: [PATCH] Actually write the method name to mkdir on storage --- uniborg/storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uniborg/storage.py b/uniborg/storage.py index 70fda9b..2cff9e2 100644 --- a/uniborg/storage.py +++ b/uniborg/storage.py @@ -48,6 +48,6 @@ class Storage: def _save(self): if not self._root.is_dir(): - self._root(parents=True, exist_ok=True) + self._root.mkdir(parents=True, exist_ok=True) with open(self._root / FILE_NAME, 'w') as fp: json.dump(self._data, fp)