From 74c0e0d6e9075df94361a4588d4c4271e062e88f Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Tue, 21 Feb 2017 13:56:20 -0500 Subject: [PATCH] Fix default for user_token Always match the expected type. --- beetsplug/discogs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/discogs.py b/beetsplug/discogs.py index a9b708619..0957b3403 100644 --- a/beetsplug/discogs.py +++ b/beetsplug/discogs.py @@ -54,7 +54,7 @@ class DiscogsPlugin(BeetsPlugin): 'apisecret': 'plxtUTqoCzwxZpqdPysCwGuBSmZNdZVy', 'tokenfile': 'discogs_token.json', 'source_weight': 0.5, - 'user_token': None, + 'user_token': '', }) self.config['apikey'].redact = True self.config['apisecret'].redact = True