From 0242176b408dc990b829088daca482400158c20e Mon Sep 17 00:00:00 2001 From: Susanna Maria Date: Sun, 23 Jun 2019 16:59:33 +0200 Subject: [PATCH] Why binary import of json? --- beetsplug/absubmit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/absubmit.py b/beetsplug/absubmit.py index e1e327283..fcdd02701 100644 --- a/beetsplug/absubmit.py +++ b/beetsplug/absubmit.py @@ -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'] = \