Skip to content

Commit

Permalink
datastore: gcode command storage fix
Browse files Browse the repository at this point in the history
Signed-off-by:  Eric Callahan <[email protected]>
  • Loading branch information
Arksine committed Nov 17, 2024
1 parent 4e00a07 commit d4ef626
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion moonraker/components/data_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ def _store_gcode_command(self, script: str) -> None:
if not cmd:
continue
self.gcode_queue.append(
{'message': script, 'time': curtime, 'type': "command"})
{'message': cmd, 'time': curtime, 'type': "command"}
)

async def _handle_gcode_store_request(self,
web_request: WebRequest
Expand Down

0 comments on commit d4ef626

Please sign in to comment.