scratched
https://ufile.io/t062cw72
Spoiler
def player_history(person): JSON_Files, JSON_File_Count = maintenance.get_json_files_to_list() index = 0 while index < JSON_File_Count: JSON_Path = maintenance.format_json_path(JSON_Files[index]) with open (JSON_Path, 'r') as JSON_File: data = json.load(JSON_File) for zaidejo in data['zaidejas']: if person in zaidejo['Nick']: print(zaidejo['Nick'] + " " + zaidejo['Data'] + " " + zaidejo['Gauja'] + " " + zaidejo['Darbas']) index += 1