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

fix(i2c.py): remove exception for valid API call #376

Closed
wants to merge 1 commit into from

Conversation

bhass1
Copy link

@bhass1 bhass1 commented Apr 19, 2024

Fixes Issue #359

I considered converting it to a self.log.warning() but the API documentation states a readlen of 0 is valid, so it wouldn't make sense to warn the developer about that.

Blame indicates these lines are 8 years old (0701df6), so it was probably just overlooked, unnecessary developer safety net.

P.S. Great work on this library!!!! 🎉 🎉 🎉

@bhass1 bhass1 closed this Apr 22, 2024
@bhass1
Copy link
Author

bhass1 commented Apr 22, 2024

Needs more work

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 this pull request may close these issues.

1 participant