Skip to content

Add DCB data only if available to avoid crash#86

Merged
vchrisb merged 1 commit into
fsantini:masterfrom
eikowagenknecht:dcbs
Oct 14, 2023
Merged

Add DCB data only if available to avoid crash#86
vchrisb merged 1 commit into
fsantini:masterfrom
eikowagenknecht:dcbs

Conversation

@eikowagenknecht

Copy link
Copy Markdown
Contributor

Fixes #71

@eikowagenknecht

Copy link
Copy Markdown
Contributor Author

Flake8, isort and black formatted now.

@eikowagenknecht

Copy link
Copy Markdown
Contributor Author

@vchrisb Rebased this after the merge of #87, should be ready for a review now :-)

@eikowagenknecht eikowagenknecht changed the title Add DCB data only if available to avoid crashed Add DCB data only if available to avoid crash Oct 11, 2023
Comment thread e3dc/_e3dc.py Outdated

@vchrisb vchrisb left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a few items to discuss

Comment thread e3dc/_e3dc.py Outdated
Comment thread e3dc/_e3dc.py Outdated

@vchrisb vchrisb left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep the construction of the dcbobj

Comment thread e3dc/_e3dc.py Outdated
Comment thread e3dc/_e3dc.py Outdated
Comment thread e3dc/_e3dc.py Outdated
Comment thread e3dc/_e3dc.py Outdated
Comment thread e3dc/_e3dc.py Outdated
Comment thread e3dc/_e3dc.py Outdated
@eikowagenknecht

Copy link
Copy Markdown
Contributor Author

Okay, I reverted most of it to the original state. Should now change as little as possible while still fixing the bug.

@vchrisb vchrisb merged commit af96ae2 into fsantini:master Oct 14, 2023
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.

get_battery_data: 'NoneType' object cannot be interpreted as an integer

2 participants