fixed alc int/float conversion

This commit is contained in:
DJ2LS 2024-05-13 10:48:33 +02:00
parent 22eed0b3e6
commit 5152161649

View file

@ -287,7 +287,7 @@ class radio:
try:
alc_response = self.send_command('l ALC')
if alc_response not in [None, '']:
self.parameters['alc'] = int(alc_response)
self.parameters['alc'] = float(alc_response)
else:
self.parameters['alc'] = 'err'