Skip to content

Commit

Permalink
Fix anilist score
Browse files Browse the repository at this point in the history
  • Loading branch information
Arial-Z committed Apr 15, 2024
1 parent 45d5602 commit c0e42b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ function get-score () {
if [[ "$anime_score" == "null" ]] || [[ "$anime_score" == "" ]]
then
anime_score=0
else
anime_score=$(printf %s "$anime_score" | awk '{print $1 / 10}')
fi
else
anime_score=$(printf %s "$anime_score" | awk '{print $1 / 10}')
Expand Down

0 comments on commit c0e42b9

Please sign in to comment.