From 30c481bc2493dbf90df198cafd667f6a3182a810 Mon Sep 17 00:00:00 2001 From: Terry Geng Date: Tue, 10 Mar 2020 09:28:18 +0800 Subject: [PATCH] fix: web interface radio display error, #94 --- media/radio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/radio.py b/media/radio.py index 365d218..f2185e5 100644 --- a/media/radio.py +++ b/media/radio.py @@ -35,7 +35,7 @@ def get_radio_server_description(url): error = error_traceback.rstrip().split("\n")[-1] log.debug("radio: unsuccessful attempts on fetching radio description (shoutcast): " + error) except ValueError: - return False # ? + return url try: r = requests.get(url_icecast, timeout=10)