From 5152161649c75e318103d06f0675785ee4ca4d8a Mon Sep 17 00:00:00 2001 From: DJ2LS Date: Mon, 13 May 2024 10:48:33 +0200 Subject: [PATCH] fixed alc int/float conversion --- 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 3cf31073..020be5c9 100644 --- a/freedata_server/rigctld.py +++ b/freedata_server/rigctld.py @@ -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'