mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
fixed #139
This commit is contained in:
parent
9f8f17b633
commit
2f767a0cf3
|
@ -193,7 +193,7 @@ class DAEMON():
|
||||||
options.append('--radiocontrol')
|
options.append('--radiocontrol')
|
||||||
options.append(data[13])
|
options.append(data[13])
|
||||||
|
|
||||||
if data[13] != 'rigctld':
|
if data[13] == 'rigctld':
|
||||||
options.append('--rigctld_ip')
|
options.append('--rigctld_ip')
|
||||||
options.append(data[14])
|
options.append(data[14])
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,7 @@ class radio():
|
||||||
"""
|
"""
|
||||||
self.hostname = rigctld_ip
|
self.hostname = rigctld_ip
|
||||||
self.port = int(rigctld_port)
|
self.port = int(rigctld_port)
|
||||||
|
|
||||||
if self.connect():
|
if self.connect():
|
||||||
logging.debug("Rigctl intialized")
|
logging.debug("Rigctl intialized")
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in a new issue