From b8c92fec09c9b6aa462612c36b8fc130f2bc8ac3 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sat, 23 Mar 2019 00:41:23 +0100 Subject: Fix the testsuite --- libmat2/audio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmat2') diff --git a/libmat2/audio.py b/libmat2/audio.py index d7d02cd..1fd58fc 100644 --- a/libmat2/audio.py +++ b/libmat2/audio.py @@ -38,7 +38,7 @@ class MP3Parser(MutagenParser): metadata = {} # type: Dict[str, Union[str, dict]] meta = mutagen.File(self.filename).tags for key in meta: - if not hasattr(meta[key], 'text'): + if not hasattr(meta[key], 'text'): # pragma: no cover continue metadata[key.rstrip(' \t\r\n\0')] = ', '.join(map(str, meta[key].text)) return metadata -- cgit v1.3