Actually write the method name to mkdir on storage

pull/8/head
Lonami 2018-12-17 17:55:53 +01:00
parent d5f70423a3
commit 5438f95f34
1 changed files with 1 additions and 1 deletions

View File

@ -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)