From 36b05e98cd424ba68b42509b1a17d4061d7e8225 Mon Sep 17 00:00:00 2001 From: fheinrich <fheinrich@techfak.de> Date: Wed, 13 Mar 2024 14:49:50 +0100 Subject: [PATCH] Fixed string in warning --- cooperative_cuisine/pygame_2d_vis/gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cooperative_cuisine/pygame_2d_vis/gui.py b/cooperative_cuisine/pygame_2d_vis/gui.py index bdac64aa..d2393c90 100644 --- a/cooperative_cuisine/pygame_2d_vis/gui.py +++ b/cooperative_cuisine/pygame_2d_vis/gui.py @@ -2038,7 +2038,7 @@ class PyGameGUI: if key_set.joystick == event.instance_id: key_set.joystick = None log.debug(f"Joystick {event.instance_id} disconnected") - log.debug("Number of joysticks:", pygame.joystick.get_count()) + log.debug(f"Number of joysticks:"+str(pygame.joystick.get_count())) # Press enter key or controller start button instead of mouse button press if ( -- GitLab