mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-11-22 03:19:53 -08: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="$?"
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user