Fixed beacon data in KISSInterface

This commit is contained in:
Mark Qvist 2021-05-17 22:01:56 +02:00
parent 7a7fd1151f
commit e746a80dca
1 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,9 @@ class KISSInterface(Interface):
serial = None
def __init__(self, owner, name, port, speed, databits, parity, stopbits, preamble, txtail, persistence, slottime, flow_control, beacon_interval, beacon_data):
if beacon_data == None:
beacon_data = ""
self.serial = None
self.owner = owner
self.name = name