From d4ef626961f1a9464dbdfc6761ead734a033c961 Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Sun, 17 Nov 2024 14:51:03 -0500 Subject: [PATCH] datastore: gcode command storage fix Signed-off-by: Eric Callahan --- moonraker/components/data_store.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/moonraker/components/data_store.py b/moonraker/components/data_store.py index 739cf38ad..2f74b22eb 100644 --- a/moonraker/components/data_store.py +++ b/moonraker/components/data_store.py @@ -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