adding missing b' to command name checks in replaygain

This commit is contained in:
Johnny Robeson 2016-07-07 03:40:26 -04:00
parent 1119e219b3
commit c9c37a8f79

View file

@ -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