From 41c047e12a3f709868ee67ea1fb698c731deda5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Petazzoni?= Date: Wed, 20 Dec 2017 00:17:40 -0600 Subject: [PATCH] Always start in interactive mode --- slides/autotest.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/slides/autotest.py b/slides/autotest.py index 41cdf22d..71bb990d 100755 --- a/slides/autotest.py +++ b/slides/autotest.py @@ -208,6 +208,10 @@ setup_tmux_and_ssh() try: state.load() logging.info("Successfully loaded state from file.") + # Let's override the starting state, so that when an error occurs, + # we can restart the auto-tester and then single-step or debug. + # (Instead of running again through the same issue immediately.) + state.interactive = True except Exception as e: logging.exception("Could not load state from file.") logging.warning("Using default values.")