mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
get alc only if != 0.0
This commit is contained in:
parent
2772afc400
commit
b2fd28f89a
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue