reset round list for a new tournament

This commit is contained in:
yann 2025-02-13 16:38:44 +01:00
parent 52ae8b774d
commit a1c7b5ab2c

View File

@ -101,6 +101,7 @@ class Application:
self.tournament.date_end = tournament_details['date_end'] self.tournament.date_end = tournament_details['date_end']
self.tournament.description = tournament_details['description'] self.tournament.description = tournament_details['description']
self.tournament.total_round = tournament_details['total_round'] self.tournament.total_round = tournament_details['total_round']
self.tournament.round_list = []
if self.save.player_load(): if self.save.player_load():
self.tournament.players_list = self.save.player_load() self.tournament.players_list = self.save.player_load()
self.save.tournament_write(self.tournament) self.save.tournament_write(self.tournament)