mirror of
https://github.com/craigerl/aprsd.git
synced 2024-11-18 06:11:49 -05:00
Fixed an KISS config disabled issue
This patch fixes a small bug when both KISS interfaces are disabled.
This commit is contained in:
parent
e57a2e2ffc
commit
3b9970c0e7
@ -131,6 +131,8 @@ class KISSClient(Client):
|
|||||||
if config.get("kiss.tcp.enabled", default=False):
|
if config.get("kiss.tcp.enabled", default=False):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
return False
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def transport(config):
|
def transport(config):
|
||||||
if config.get("kiss.serial.enabled", default=False):
|
if config.get("kiss.serial.enabled", default=False):
|
||||||
|
Loading…
Reference in New Issue
Block a user