Skip to content

Commit

Permalink
Fixed failed syntax style test
Browse files Browse the repository at this point in the history
  • Loading branch information
thankyousam committed Jun 12, 2024
1 parent cfe6df3 commit c705ef0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moonraker/components/job_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit c705ef0

Please sign in to comment.