Skip to content

Fix for broken trip & charge pages: add check for NoneType in get_elec_consumption#1194

Open
murderbeard wants to merge 2 commits into
flobz:masterfrom
murderbeard:trip-parser-fix
Open

Fix for broken trip & charge pages: add check for NoneType in get_elec_consumption#1194
murderbeard wants to merge 2 commits into
flobz:masterfrom
murderbeard:trip-parser-fix

Conversation

@murderbeard

Copy link
Copy Markdown

As my trip data would no longer load. The log states that end[LEVEL] could be NoneType, which trip_parser did not like. With this check in place my trip data is working again.

As my trip data would no longer load. The log states that end[LEVEL] could be NoneType, which trip_parser did not like. With this check in place my trip data is working again.
@murderbeard

Copy link
Copy Markdown
Author

#1210 A more thorough fix has been proposed here.

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