Skip to content

Commit 96a3665

Browse files
committed
Fix: pvp class overwrote logger without filehandler
1 parent 4ea769b commit 96a3665

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

codeclash/tournaments/pvp.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
from codeclash.games.game import CodeGame
1414
from codeclash.tournaments.tournament import AbstractTournament
1515
from codeclash.utils.environment import copy_to_container
16-
from codeclash.utils.log import get_logger
1716

1817

1918
class PvpTournament(AbstractTournament):
@@ -29,7 +28,6 @@ def __init__(self, config: dict, *, cleanup: bool = False, push_agent: bool = Fa
2928
self.agents: list[Player] = []
3029
for agent_conf in self.config["players"]:
3130
self.agents.append(self.get_agent(agent_conf, self.config["prompts"]))
32-
self.logger = get_logger(self.game.name)
3331

3432
@property
3533
def scoreboard(self) -> list[tuple[int, str]]:

0 commit comments

Comments
 (0)