server: fix linter errors
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
282cf1ce03
commit
ddd4a02e9c
|
@ -368,7 +368,7 @@ class Server:
|
|||
return self.klippy_connection.state
|
||||
|
||||
def _handle_term_signal(self) -> None:
|
||||
logging.info(f"Exiting with signal SIGTERM")
|
||||
logging.info("Exiting with signal SIGTERM")
|
||||
self.event_loop.register_callback(self._stop_server, "terminate")
|
||||
|
||||
async def _stop_server(self, exit_reason: str = "restart") -> None:
|
||||
|
|
Loading…
Reference in New Issue