From 9a0b911666f5f33cc2cdda90b6041f3fe259745a Mon Sep 17 00:00:00 2001 From: JoeLametta Date: Sat, 8 Feb 2020 18:22:22 +0000 Subject: [PATCH] Clarify 'set_hostname' warning message Fixes #464. Signed-off-by: JoeLametta --- whipper/command/main.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/whipper/command/main.py b/whipper/command/main.py index 0b98692..ae572b1 100644 --- a/whipper/command/main.py +++ b/whipper/command/main.py @@ -25,7 +25,14 @@ def main(): musicbrainzngs.set_hostname(server['netloc'], https_enabled) # Parameter 'use_https' is missing in versions of musicbrainzngs < 0.7 except TypeError as e: - logger.warning(e) + logger.warning("Parameter 'use_https' is missing in versions of " + "musicbrainzngs < 0.7. This means whipper will only " + "be able to communicate with the configured " + "MusicBrainz server ('%s') over plain HTTP. If a " + "custom server which speaks HTTPS only has been " + "declared, a suitable version of the " + "musicbrainzngs module will be needed " + "to make it work in whipper.", server['netloc']) musicbrainzngs.set_hostname(server['netloc']) # Find whipper's plugins paths (local paths have higher priority)