Skip to content

Commit

Permalink
Merge branch 'master' into error_dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
MattHag authored Nov 12, 2024
2 parents 27f4c00 + 8b0904e commit 0a0d59c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/logitech_receiver/receiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,8 @@ def __str__(self):
class BoltReceiver(Receiver):
"""Bolt receivers use a different pairing prototol and have different pairing registers"""

def __init__(self, receiver_kind, product_info, handle, path, product_id, setting_callback=None):
super().__init__(receiver_kind, product_info, handle, path, product_id, setting_callback)
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)

def initialize(self, product_info: dict):
serial_reply = self.read_register(Registers.BOLT_UNIQUE_ID)
Expand Down Expand Up @@ -466,8 +466,8 @@ def __init__(self, *args, **kwargs):
class Ex100Receiver(Receiver):
"""A very old style receiver, somewhat different from newer receivers"""

def __init__(self, receiver_kind, product_info, handle, path, product_id, setting_callback=None):
super().__init__(receiver_kind, product_info, handle, path, product_id, setting_callback)
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)

def initialize(self, product_info: dict):
self.serial = None
Expand Down

0 comments on commit 0a0d59c

Please sign in to comment.