1
0
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:
Hemna 2021-12-11 07:46:43 -05:00
parent e57a2e2ffc
commit 3b9970c0e7

View File

@ -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):