From 2b17bf6395371087f6b26b01aedd0140133f3232 Mon Sep 17 00:00:00 2001 From: Wilfred Tyler Gee Date: Sat, 11 May 2024 18:29:23 -1000 Subject: [PATCH] Change the statue and include the next state. --- src/panoptes/pocs/core.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/panoptes/pocs/core.py b/src/panoptes/pocs/core.py index 005c5bdfa..d6bdab41f 100644 --- a/src/panoptes/pocs/core.py +++ b/src/panoptes/pocs/core.py @@ -161,7 +161,8 @@ def should_retry(self): def status(self) -> dict: try: status = { - 'state': self.state, + 'from_state': self.state, + 'to_state': self.next_state, 'system': { 'free_space': str(self._free_space), },