Skip to content

Commit

Permalink
receiver: fix BoltReceiver, Ex100Receiver __init__ (#2661)
Browse files Browse the repository at this point in the history
  • Loading branch information
piec authored Nov 10, 2024
1 parent 9d5568f commit 8b0904e
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 8b0904e

Please sign in to comment.