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

add a check in response (line 66) #3

Open
juanda2 opened this issue Jun 24, 2020 · 0 comments
Open

add a check in response (line 66) #3

juanda2 opened this issue Jun 24, 2020 · 0 comments

Comments

@juanda2
Copy link

juanda2 commented Jun 24, 2020

some devices returned might not have 'series' in the dict that is returned, so adding this line:

if(device['series']):

right after line 66 should at least check that the 'series' key is in the dict before using that string in the next lines. thus ensuring an error isn't thrown out.

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