bug fix and proper log

This commit is contained in:
geekan 2023-12-19 16:22:29 +08:00 committed by better629
parent 5c341cb053
commit 437abd1754
2 changed files with 2 additions and 3 deletions

View file

@ -37,7 +37,7 @@ class DependencyFile:
"""Load dependencies from the file asynchronously."""
if not self._filename.exists():
return
self._dependencies = await aread(self._filename)
self._dependencies = json.loads(await aread(self._filename))
@handle_exception
async def save(self):