Skip to content

Python 3.4 fix for Controller __new__ #9

@oleon6

Description

@oleon6

Was getting this error with Python 3:
...sysfs/gpio.py", line 239, in new
instance = super(controller, cls).new(cls, args, kw)
TypeError: object() takes no parameters

Modified to:
instance = super(controller, cls).new(cls)
This works with Python 3.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions