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

"fade" method throws Exception when both params are None #52

Closed
EAGrahamJr opened this issue Feb 16, 2023 · 1 comment · Fixed by #53
Closed

"fade" method throws Exception when both params are None #52

EAGrahamJr opened this issue Feb 16, 2023 · 1 comment · Fixed by #53

Comments

@EAGrahamJr
Copy link
Contributor

def fade(self, fade_in=None, fade_out=None, pause=0):

It seems there's a missing return that should occur when both parameters are None. If that does not occur, line 209 will (obviously) fail.

@tannewt
Copy link
Member

tannewt commented Feb 16, 2023

Would you mind making a PR? I think you are right what the fix is. https://learn.adafruit.com/contribute-to-circuitpython-with-git-and-github

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

Successfully merging a pull request may close this issue.

2 participants