def __init__(self, device): self.timeout = 1 self.device = device self.speed = 57600 SerialInterface.__init__(self) self.open()
def __init__(self, device, radio_locale=None): self.timeout = 1 self.device = device self.speed = 57600 # radio_locale is not supported here SerialInterface.__init__(self) self.open()