Skip to content

Commit f5b0779

Browse files
committed
linting
1 parent df3f155 commit f5b0779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openevsehttp/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ def gfi_trip_count(self) -> int:
10431043
@property
10441044
def status(self) -> str:
10451045
"""Return charger's state."""
1046-
state = self._status.get("status", states[int(self._status.get("state"))])
1046+
state = self._status.get("status", states[int(self._status.get("state", 0))])
10471047
return state
10481048

10491049
@property

0 commit comments

Comments
 (0)