reduced logging

This commit is contained in:
DJ2LS 2024-04-26 21:17:57 +02:00
parent 1e640cc0c3
commit ac58483c1c

View file

@ -292,7 +292,7 @@ class radio:
def get_strength(self): def get_strength(self):
try: 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' self.parameters['strength'] = strength_response if strength_response is not None else 'err'
except Exception as e: except Exception as e:
self.log.warning(f"Error getting strength: {e}") self.log.warning(f"Error getting strength: {e}")