Skip to content

Commit

Permalink
Fix pylint and flake8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
GidoHakvoort committed Mar 3, 2019
1 parent 7219991 commit 7f0950d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions homeassistant/components/sensor/solaredge.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,8 @@ def update(self):

power_from = []
power_to = []
if not 'connections' in power_flow:

if 'connections' not in power_flow:
_LOGGER.error("Missing connections in power flow data")
return

Expand Down

0 comments on commit 7f0950d

Please sign in to comment.