From eaed09d56db9c396b74df0a996af64b47cdc22dc Mon Sep 17 00:00:00 2001 From: Dipankar Pal Date: Sat, 16 Dec 2023 16:11:25 +0530 Subject: [PATCH] fix: :bug: fails to play a single result #102 --- radioactive/utilities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radioactive/utilities.py b/radioactive/utilities.py index 23fb062..452aea9 100644 --- a/radioactive/utilities.py +++ b/radioactive/utilities.py @@ -465,7 +465,7 @@ def handle_user_choice_from_search_result(handler, response): print() sys.exit(0) - if user_input == ("y" or "Y"): + if user_input in ["y","Y"]: log.debug("Playing UUID from single response") global_current_station_info = response[0]