diff --git a/main.py b/main.py index 6973a1f..29bf4bd 100644 --- a/main.py +++ b/main.py @@ -32,10 +32,10 @@ def main() -> int: # Connecter le signal finished pour afficher la fenêtre principale et vérifier les mises à jour def show_main_window(): if update_manager.check_for_update(): - return 0 + return 0 window.show() - - splash.finished.connect(show_main_window) + + splash.finished.connect(lambda: show_main_window()) else: # Pas de splash screen, vérifier les mises à jour puis afficher la fenêtre principale if update_manager.check_for_update():