From a68bcb6ee15750831730c98d4959839260a5d1b8 Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 19 Feb 2015 11:48:10 +0200 Subject: [PATCH] Fix condition that checks if we should disable custom MusicBrainz server authentication. --- headphones/mb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/headphones/mb.py b/headphones/mb.py index 66a9f303..3a150977 100644 --- a/headphones/mb.py +++ b/headphones/mb.py @@ -78,8 +78,8 @@ def startmb(): musicbrainzngs.hpauth(mbuser, mbpass) # Let us know if we disable custom authentication - if not headphones.CONFIG.CUSTOMAUTH: - musicbrainzngs.disable_hpauth(); + if not headphones.CONFIG.CUSTOMAUTH and headphones.CONFIG.MIRROR == "custom": + musicbrainzngs.disable_hpauth() logger.debug('Using the following server values: MBHost: %s, MBPort: %i, Sleep Interval: %i', mbhost, mbport, sleepytime)