remove trailing ,

This commit is contained in:
fred 2022-07-04 15:21:12 +02:00
parent 49760cb10d
commit aa955f56b3
1 changed files with 1 additions and 1 deletions

View File

@ -27,4 +27,4 @@ for player in $(ls ~/.zen/game/players/); do
DATA="$DATA { name: '"${pseudo}"', link: '"/ipns/${moans}"', weight: "$(cat ~/.zen/game/players/$player/moa/$player.moa.n)", tooltip: '"${player}"' },"
done
echo 'data: [ '$DATA' ]'
echo 'data: [ '$(echo $DATA | sed 's/,*$//g')' ]'