Skip to content

Commit

Permalink
:fix: fix(lock): fix packages var init as list
Browse files Browse the repository at this point in the history
  • Loading branch information
fu050409 committed Jan 21, 2024
1 parent 16d1bd0 commit 2be84ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ipm/models/lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def __init__(self, source_path: StrPath = IPM_PATH / "inifni.lock") -> None:
def load(self):
if not self.source_path.exists():
self.metadata = {}
self.packages = {}
self.packages = []
source_file = self.source_path.open("w", encoding="utf-8")
source_file.write(ATTENSION + str(self.dumps()))
source_file.close()
Expand Down

0 comments on commit 2be84ab

Please sign in to comment.