mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-11-22 03:19:53 -08:00
fix new anime query not working
This commit is contained in:
parent
a1486457da
commit
3009a6d72f
5
ani-cli
5
ani-cli
@ -298,8 +298,9 @@ get_search_query() {
|
|||||||
|
|
||||||
# Remove the id from the query
|
# Remove the id from the query
|
||||||
query="${query//[1-9]*\. /}"
|
query="${query//[1-9]*\. /}"
|
||||||
# Remove trailing whitespace to avoid being converted to '-' next step
|
# fixes '-' at end of selected anime, but removes spaces from queries
|
||||||
query="${query// /}"
|
# works with trailing '-' so remove for now
|
||||||
|
# query="${query// /}"
|
||||||
log "Query: $query"
|
log "Query: $query"
|
||||||
else
|
else
|
||||||
query=$*
|
query=$*
|
||||||
|
Loading…
Reference in New Issue
Block a user