mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
Why binary import of json?
This commit is contained in:
parent
1643eea3f5
commit
0242176b40
1 changed files with 1 additions and 1 deletions
|
|
@ -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'] = \
|
||||
|
|
|
|||
Loading…
Reference in a new issue