Commit eb785209 authored by Gerion Entrup's avatar Gerion Entrup
Browse files

walker: fix TODO

parent d4d9e798
......@@ -54,7 +54,6 @@ class Walker(threading.Thread):
if mut[key][0].dataformat == mutagen.mp4.AtomDataType.UTF8:
return mut[key][0].decode('utf8')
else:
# TODO throw exception
print("should not happen")
raise Exception('MP4 could not be parsed correctly. Dataformat is not UTF8')
return None
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment