Why binary import of json?

This commit is contained in:
Susanna Maria 2019-06-23 16:59:33 +02:00
parent 1643eea3f5
commit 0242176b40

View file

@ -160,7 +160,7 @@ class AcousticBrainzSubmitPlugin(plugins.BeetsPlugin):
item=item, error=e
)
return None
with open(filename, 'rb') as tmp_file:
with open(filename, 'r') as tmp_file:
analysis = json.load(tmp_file)
# Add the hash to the output.
analysis['metadata']['version']['essentia_build_sha'] = \