Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.4 fix for Controller __new__ #9

Open
oleon6 opened this issue May 11, 2016 · 1 comment
Open

Python 3.4 fix for Controller __new__ #9

oleon6 opened this issue May 11, 2016 · 1 comment

Comments

@oleon6
Copy link

oleon6 commented May 11, 2016

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

@oleon6
Copy link
Author

oleon6 commented May 16, 2016

@izaid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant