mirror of
https://github.com/beetbox/beets.git
synced 2025-12-26 02:24:33 +01:00
adding missing b' to command name checks in replaygain
This commit is contained in:
parent
1119e219b3
commit
c9c37a8f79
1 changed files with 2 additions and 2 deletions
|
|
@ -308,9 +308,9 @@ class CommandBackend(Backend):
|
|||
def format_supported(self, item):
|
||||
"""Checks whether the given item is supported by the selected tool.
|
||||
"""
|
||||
if 'mp3gain' in self.command and item.format != 'MP3':
|
||||
if b'mp3gain' in self.command and item.format != 'MP3':
|
||||
return False
|
||||
elif 'aacgain' in self.command and item.format not in ('MP3', 'AAC'):
|
||||
elif b'aacgain' in self.command and item.format not in ('MP3', 'AAC'):
|
||||
return False
|
||||
return True
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue