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 e8f20ed commit 56d71e6
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Client/profile_save.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,6 @@ class Profile:
def __init__(self, path=os.path.abspath('Client/Data/profiles.json')):
self.path = path

def check_file(self):
"""
This method checks if the file exists
:return: True if the file exists, False if it does not
"""
if exists(self.path):
return True
else:
return False

def get_profiles(self):
"""
This method returns all the profiles from the file
Expand Down

0 comments on commit 56d71e6

Please sign in to comment.