From e3e486b5fceff03490d492a78fd9dc81544b5b35 Mon Sep 17 00:00:00 2001 From: Pedro Date: Sun, 26 Nov 2023 12:53:28 +0100 Subject: [PATCH] Fix PingCommand --- modem/command_ping.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modem/command_ping.py b/modem/command_ping.py index 0ab38a49..2a4e316f 100644 --- a/modem/command_ping.py +++ b/modem/command_ping.py @@ -2,9 +2,9 @@ from command import TxCommand class PingCommand(TxCommand): - def setParamsFromApi(self, apiParams): + def set_params_from_api(self, apiParams): self.dxcall = apiParams['dxcall'] - return super().setParamsFromApi() + return super().set_params_from_api(apiParams) def build_frame(self): return self.frame_factory.build_ping(self.dxcall)