From 1af2cd9ad4baa0bb9385e65becaa08d1ae105230 Mon Sep 17 00:00:00 2001 From: Auric Vente Date: Mon, 22 Jul 2024 00:16:08 -0600 Subject: [PATCH] Mods --- cromulant/game.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/cromulant/game.py b/cromulant/game.py index 9c43eae..28b7585 100644 --- a/cromulant/game.py +++ b/cromulant/game.py @@ -42,9 +42,7 @@ class Game: Game.info() @staticmethod - def update( - ant: Ant, - ) -> None: + def update(ant: Ant) -> None: container = QHBoxLayout() image_label = Game.get_image(ant) right_container = Game.make_right_container(ant) @@ -111,9 +109,7 @@ class Game: return root @staticmethod - def get_image( - ant: Ant, - ) -> QLabel: + def get_image(ant: Ant) -> QLabel: if ant.method == "hatched": path = Config.hatched_image_path elif ant.method == "terminated":