Skip to content

Commit

Permalink
FF: Supply channels on base class init
Browse files Browse the repository at this point in the history
  • Loading branch information
TEParsons committed Nov 23, 2023
1 parent 208ed0e commit 249ba12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psychopy_labhackers/millikey.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def __init__(self, buttons=(1, 2, 3, 4, 5, 6, 7, 8)):

class MillikeySerialButtonGroup(BaseButtonGroup):
def __init__(self, port=None, channels=8):
BaseButtonGroup.__init__(self)
BaseButtonGroup.__init__(self, channels=channels)
# get port if not given
if port is None:
profiles = self.getAvailableDevices()
Expand Down

0 comments on commit 249ba12

Please sign in to comment.