Updated to fix bug

This commit is contained in:
Anon 2024-03-09 21:38:33 -08:00
parent 696231a6c4
commit 393b833b11

View File

@ -44,7 +44,7 @@ MSG_SFW="$3"
MSG_NSFW="$4" MSG_NSFW="$4"
shift 4 shift 4
TAGS_FMT=`echo "$TAGS" | xargs -d ' ' echo | tr ' ' '+'` TAGS_FMT=`echo "$TAGS" | tr ' ' '\n' | xargs echo | tr ' ' '+'`
TAGS_BLK_FMT=`xargs -a "$TAGS_BLACKLIST" echo | sed 's|\ |+-|g'` TAGS_BLK_FMT=`xargs -a "$TAGS_BLACKLIST" echo | sed 's|\ |+-|g'`
TAGS_SEARCH="${TAGS_FMT}+sort:random+-${TAGS_BLK_FMT}" TAGS_SEARCH="${TAGS_FMT}+sort:random+-${TAGS_BLK_FMT}"