This commit is contained in:
2026-06-24 17:18:16 -04:00
parent 221d6021ac
commit 7d25c5677b
5 changed files with 10 additions and 46 deletions

View File

@@ -13,7 +13,7 @@ def save(save: model.Save, folder=None):
data = save.to_dict()
Path.mkdir(folder, exist_ok=True)
folder.mkdir(parents=True, exist_ok=True)
with open(save_file, "w") as f:
json.dump(data, f)