From ac58483c1ca1e2a9a680d37e2c15fe8842eecab9 Mon Sep 17 00:00:00 2001 From: DJ2LS Date: Fri, 26 Apr 2024 21:17:57 +0200 Subject: [PATCH] reduced logging --- freedata_server/rigctld.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freedata_server/rigctld.py b/freedata_server/rigctld.py index f94e224e..d2099e83 100644 --- a/freedata_server/rigctld.py +++ b/freedata_server/rigctld.py @@ -292,7 +292,7 @@ class radio: def get_strength(self): try: - strength_response = int(self.send_command('l STRENGTH')) + strength_response = self.send_command('l STRENGTH') self.parameters['strength'] = strength_response if strength_response is not None else 'err' except Exception as e: self.log.warning(f"Error getting strength: {e}")