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

Update pms5003.py #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update pms5003.py #6

wants to merge 1 commit into from

Conversation

AlanBell
Copy link

@AlanBell AlanBell commented Sep 9, 2021

data was None, so had no length, test for None before testing length. Length should never be None I think, should compare with zero. Fixes issue #5

data was None, so had no length, test for None before testing length. Length should never be None I think, should compare with zero.
@kevinkk525
Copy link
Owner

Thanks for the PR. I'm currently not feeling well enough but I'll get back to it once I feel better (may take a few weeks).
Glad it works for you with this fix.

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.

2 participants