summaryrefslogtreecommitdiff
path: root/libmat2/audio.py
diff options
context:
space:
mode:
Diffstat (limited to 'libmat2/audio.py')
-rw-r--r--libmat2/audio.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmat2/audio.py b/libmat2/audio.py
index aa4afdb..13ed291 100644
--- a/libmat2/audio.py
+++ b/libmat2/audio.py
@@ -39,7 +39,7 @@ class MP3Parser(MutagenParser):
39 mimetypes = {'audio/mpeg', } 39 mimetypes = {'audio/mpeg', }
40 40
41 def get_meta(self) -> Dict[str, Union[str, Dict]]: 41 def get_meta(self) -> Dict[str, Union[str, Dict]]:
42 metadata = {} # type: Dict[str, Union[str, Dict]] 42 metadata: Dict[str, Union[str, Dict]] = dict()
43 meta = mutagen.File(self.filename).tags 43 meta = mutagen.File(self.filename).tags
44 if not meta: 44 if not meta:
45 return metadata 45 return metadata