From bc8f73beaf3d6df07f70329c92b54e2b791d6bc2 Mon Sep 17 00:00:00 2001 From: yann Date: Thu, 13 Feb 2025 12:02:08 +0100 Subject: [PATCH] add break on quit to avoid loop --- controllers/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/base.py b/controllers/base.py index 0f29f36..7b092b9 100644 --- a/controllers/base.py +++ b/controllers/base.py @@ -195,7 +195,7 @@ class Application: # Quit if menu_choice == "4": print("Bye") - + break # Rapports elif menu_choice == "3": rapport_choice = self.menu.items(2)