fix steam to boiii issue when json not found

This commit is contained in:
faroukbmiled 2023-09-24 02:21:49 +01:00
parent eaf9fd2b49
commit cc39e971e2

View File

@ -245,7 +245,8 @@ class LibraryTab(ctk.CTkScrollableFrame):
items_file = os.path.join(application_path, LIBRARY_FILE) items_file = os.path.join(application_path, LIBRARY_FILE)
if not self.is_valid_json_format(items_file): if not self.is_valid_json_format(items_file):
self.rename_invalid_json_file(items_file) try: self.rename_invalid_json_file(items_file)
except: pass
for folder_path in folders_to_process: for folder_path in folders_to_process:
for zone_path in folder_path.glob("**/zone"): for zone_path in folder_path.glob("**/zone"):