mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
remove globals
This commit is contained in:
parent
a272b6fc2c
commit
5301cd3b05
|
@ -6,12 +6,8 @@
|
|||
|
||||
import contextlib
|
||||
import socket
|
||||
import time
|
||||
import structlog
|
||||
import threading
|
||||
import static
|
||||
from global_instances import HamlibParam
|
||||
|
||||
|
||||
class radio:
|
||||
"""rigctld (hamlib) communication class"""
|
||||
|
@ -241,7 +237,6 @@ class radio:
|
|||
if 'RPRT' not in alc:
|
||||
try:
|
||||
alc = float(alc)
|
||||
self.alc = alc if alc != 0.0 else HamlibParam.alc
|
||||
except ValueError:
|
||||
self.alc = 0.0
|
||||
|
||||
|
|
Loading…
Reference in a new issue