diff --git a/script/todo/todo_upgrade.py b/script/todo/todo_upgrade.py index d77b6dc..cf6b42a 100755 --- a/script/todo/todo_upgrade.py +++ b/script/todo/todo_upgrade.py @@ -793,6 +793,22 @@ class TodoUpgrade: self.dct_progression["state_1_neutralize_database"] = True self.write_config() + # Point de pause APRÈS la neutralisation : on propose de poursuivre la + # mise à jour maintenant, ou d'attendre. L'état est déjà sauvegardé + # (restore + neutralize) -> si on attend, relancer « Migration de base + # de données » reprendra ici sans refaire ces étapes. + ans = input( + "\n💬 Neutralisation terminée. Poursuivre la mise à jour " + "maintenant ? (o = poursuivre, n = attendre / reprendre " + "plus tard) [o] : " + ).strip().lower() + if ans in ("n", "non", "no"): + print( + "⏸ Mise à jour en PAUSE après neutralisation. Relancez " + "« Migration de base de données » pour reprendre." + ) + return + config_state_1_uninstall_module = self.dct_progression.get( "config_state_1_uninstall_module" )