Skip to content

Commit

Permalink
修复config.save参数
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhaoZuohong committed Jul 25, 2024
1 parent 23f80ee commit dcb0934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arknights_mower/utils/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def load():
if not conf_path.is_file():
conf_path.parent.mkdir(exist_ok=True)
conf = Conf()
save(conf)
save()
with conf_path.open("r", encoding="utf-8") as f:
conf = Conf(**yaml.load(f, Loader=CoreLoader))

Expand Down

0 comments on commit dcb0934

Please sign in to comment.