get alc only if != 0.0

This commit is contained in:
DJ2LS 2023-02-01 13:41:44 +01:00
parent 2772afc400
commit b2fd28f89a

View file

@ -258,7 +258,7 @@ class radio:
try: try:
alc = float(alc) alc = float(alc)
if alc != 0.0: if alc != 0.0:
self.alc = float(alc) self.alc = alc
except ValueError: except ValueError:
self.alc = str(alc) self.alc = str(alc)