From 49c5583e9538d8d2f4f262ec990d3f755c634ccb Mon Sep 17 00:00:00 2001 From: Arksine Date: Thu, 28 Jan 2021 07:35:33 -0500 Subject: [PATCH] machine: fix typo in service restart handler Signed-off-by: Eric Callahan --- moonraker/plugins/machine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moonraker/plugins/machine.py b/moonraker/plugins/machine.py index fa5c56c..14c834e 100644 --- a/moonraker/plugins/machine.py +++ b/moonraker/plugins/machine.py @@ -49,7 +49,7 @@ class Machine: elif name == "moonraker": IOLoop.current().spawn_callback(self.restart_service, name) else: - raise self.sever.error( + raise self.server.error( f"Invalid argument recevied for 'name': {name}") return "ok"