From 58682958c8d94e1f14da9f1fcced2c864e060bb3 Mon Sep 17 00:00:00 2001 From: Will Dudley <14932240+WillDudley@users.noreply.github.com> Date: Mon, 31 Oct 2022 10:58:30 +0000 Subject: [PATCH] fix #845 --- pettingzoo/butterfly/cooperative_pong/cooperative_pong.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pettingzoo/butterfly/cooperative_pong/cooperative_pong.py b/pettingzoo/butterfly/cooperative_pong/cooperative_pong.py index fc14d1ab1..9509fd752 100644 --- a/pettingzoo/butterfly/cooperative_pong/cooperative_pong.py +++ b/pettingzoo/butterfly/cooperative_pong/cooperative_pong.py @@ -263,7 +263,7 @@ def enable_render(self): def render(self): if self.render_mode is None: - gymnasium.logger.WARN( + gymnasium.logger.warn( "You are calling render method without specifying any render mode." ) return