From e01040e15cfe111473b1b0f0236621752d2aa042 Mon Sep 17 00:00:00 2001 From: ksyasuda Date: Sat, 22 Jan 2022 00:55:29 -0800 Subject: [PATCH] fix bug in supplying multi word query to stream function --- ani-cli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ani-cli b/ani-cli index fccec49..6844fcd 100755 --- a/ani-cli +++ b/ani-cli @@ -707,7 +707,7 @@ stream() { searched="$?" lg "Searched before: $searched" if [ "$searched" -eq 0 ]; then - search_results=$(search_anime "$query") + search_results=$(search_anime $query) # want word splitting to account for both input cases [ -z "$search_results" ] && die "No search results found" lg "SEARCH RESULTS: $search_results" if ! anime_selection "$search_results"; then