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)