Skip to content

Commit

Permalink
Fix(profile save): Fixed failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Petzys committed Mar 18, 2024
1 parent 8c44ac5 commit fe86724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Client/profile_save.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def get_profiles():

@staticmethod
def set_profiles(players: list, selected: int):
with open(path, 'w') as file:
with open(path, 'w+') as file:
entry = []
for player in players:
entry.append(player.as_dict())
Expand Down

0 comments on commit fe86724

Please sign in to comment.