mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-10-28 04:44:11 -07:00
fix bug in supplying multi word query to stream function
This commit is contained in:
parent
8902875806
commit
e01040e15c
2
ani-cli
2
ani-cli
@ -707,7 +707,7 @@ stream() {
|
|||||||
searched="$?"
|
searched="$?"
|
||||||
lg "Searched before: $searched"
|
lg "Searched before: $searched"
|
||||||
if [ "$searched" -eq 0 ]; then
|
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"
|
[ -z "$search_results" ] && die "No search results found"
|
||||||
lg "SEARCH RESULTS: $search_results"
|
lg "SEARCH RESULTS: $search_results"
|
||||||
if ! anime_selection "$search_results"; then
|
if ! anime_selection "$search_results"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user