From e8f20ed6b5955b90519e262b53d06ccd72c79e73 Mon Sep 17 00:00:00 2001 From: Andrey Dubilyer <92729835+bananabr3d@users.noreply.github.com> Date: Thu, 14 Mar 2024 09:44:08 +0100 Subject: [PATCH] Update Client/profile_save.py Co-authored-by: Hauke Platte <53154723+HOOK-Hawkins@users.noreply.github.com> --- Client/profile_save.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/profile_save.py b/Client/profile_save.py index a4bd256..8d2b1ab 100644 --- a/Client/profile_save.py +++ b/Client/profile_save.py @@ -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 = []