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)