mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
fixed alc int/float conversion
This commit is contained in:
parent
22eed0b3e6
commit
5152161649
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in a new issue