Skip to content

Commit

Permalink
Update Client/profile_save.py
Browse files Browse the repository at this point in the history
Co-authored-by: Hauke Platte <[email protected]>
  • Loading branch information
bananabr3d and HOOK-Hawkins authored Mar 14, 2024
1 parent 915eeb7 commit e8f20ed
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 @@ -26,7 +26,7 @@ def get_profiles(self):
This method returns all the profiles from the file
:return: An array of all profiles
"""
if self.check_file():
if exists(self.path):
with open(self.path, 'r') as file:
data = json.load(file)
output = []
Expand Down

0 comments on commit e8f20ed

Please sign in to comment.