mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 19:57:07 +00:00
Fixed flake8
This commit is contained in:
parent
e6c09f7413
commit
30e24296c4
@ -120,7 +120,7 @@ class SqueezeBoxDevice(MediaPlayerDevice):
|
||||
telnet = telnetlib.Telnet(self._server, self._port)
|
||||
if self._user and self._password:
|
||||
telnet.write('login {user} {password}\n'.format(
|
||||
user=self._user,
|
||||
user=self._user,
|
||||
password=self._password).encode('UTF-8'))
|
||||
telnet.read_until(b'\n', timeout=3)
|
||||
message = '{}\n'.format(' '.join(parameters))
|
||||
|
Loading…
x
Reference in New Issue
Block a user