Skip to content

Commit

Permalink
remove unneeded .json()
Browse files Browse the repository at this point in the history
  • Loading branch information
firstof9 committed Oct 25, 2021
1 parent ef5e2cf commit 5b2c6cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openevsehttp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def _update_status(self, msgtype, data, error):
self._ws_listening = False

elif msgtype == "data":
update_data = data.json()
update_data = data

for key, value in update_data:
self._status[key] = value
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

PROJECT_DIR = Path(__file__).parent.resolve()
README_FILE = PROJECT_DIR / "README.md"
VERSION = "0.1.8-4"
VERSION = "0.1.8-5"


setup(
Expand Down

0 comments on commit 5b2c6cd

Please sign in to comment.