diff --git a/tnc/rigctld.py b/tnc/rigctld.py index 27cea704..3cc18c75 100644 --- a/tnc/rigctld.py +++ b/tnc/rigctld.py @@ -256,7 +256,10 @@ class radio: alc = data[0].decode("utf-8") if 'RPRT' not in alc: try: - self.alc = float(alc) + alc = float(alc) + if alc != 0.0: + self.alc = float(alc) + except ValueError: self.alc = str(alc)