From 3009a6d72f77abeea232959831b549fbed0c0295 Mon Sep 17 00:00:00 2001 From: ksyasuda Date: Thu, 30 Dec 2021 20:06:26 -0800 Subject: [PATCH] fix new anime query not working --- ani-cli | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ani-cli b/ani-cli index 84e1cd0..ed80db9 100755 --- a/ani-cli +++ b/ani-cli @@ -298,8 +298,9 @@ get_search_query() { # Remove the id from the query query="${query//[1-9]*\. /}" - # Remove trailing whitespace to avoid being converted to '-' next step - query="${query// /}" + # fixes '-' at end of selected anime, but removes spaces from queries + # works with trailing '-' so remove for now + # query="${query// /}" log "Query: $query" else query=$*