Skip to content

Commit

Permalink
fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitlouy committed Jul 18, 2018
1 parent 5e704bf commit 9c8d2c4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions homeassistant/components/media_player/pjlink.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ def __init__(self, host, port, name, encoding, password):
if not self._name:
self._name = projector.get_name()
inputs = projector.get_inputs()
self._source_name_mapping = {self.format_input_source(*x): x for x in inputs}
self._source_name_mapping = \
{self.format_input_source(*x): x for x in inputs}
self._source_list = sorted(self._source_name_mapping.keys())

def projector(self):
Expand All @@ -99,7 +100,8 @@ def update(self):
else:
self._pwstate = STATE_ON
self._muted = projector.get_mute()[1]
self._current_source = self.format_input_source(*projector.get_input())
self._current_source = \
self.format_input_source(*projector.get_input())

@property
def name(self):
Expand Down

0 comments on commit 9c8d2c4

Please sign in to comment.