From c705ef08b42837f166118599fc965e686da388cc Mon Sep 17 00:00:00 2001 From: David Osbourn Date: Wed, 12 Jun 2024 20:50:56 +0100 Subject: [PATCH] Fixed failed syntax style test --- moonraker/components/job_state.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moonraker/components/job_state.py b/moonraker/components/job_state.py index 9d61e81d6..50a874e16 100644 --- a/moonraker/components/job_state.py +++ b/moonraker/components/job_state.py @@ -79,7 +79,7 @@ async def _status_update(self, data: Dict[str, Any], _: float) -> None: if "info" in ps: cur_layer: Optional[int] = ps["info"].get("current_layer") prev_ps = dict(self.last_print_stats) - if "filename" in prev_ps: # inject filename from last_print_stats + if "filename" in prev_ps: # inject filename from last_print_stats ps["filename"] = prev_ps["filename"] if cur_layer is not None: self.server.send_event(