Add pylint CodeStyle extension (#53147)
This commit is contained in:
parent
c35b5a1c64
commit
f6b162bc39
60 changed files with 103 additions and 98 deletions
|
@ -472,7 +472,7 @@ class UniversalMediaPlayer(MediaPlayerEntity):
|
|||
if SERVICE_MEDIA_PREVIOUS_TRACK in self._cmds:
|
||||
flags |= SUPPORT_PREVIOUS_TRACK
|
||||
|
||||
if any(cmd in self._cmds for cmd in [SERVICE_VOLUME_UP, SERVICE_VOLUME_DOWN]):
|
||||
if any(cmd in self._cmds for cmd in (SERVICE_VOLUME_UP, SERVICE_VOLUME_DOWN)):
|
||||
flags |= SUPPORT_VOLUME_STEP
|
||||
if SERVICE_VOLUME_SET in self._cmds:
|
||||
flags |= SUPPORT_VOLUME_SET
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue