Skip to content

Commit

Permalink
Update json_to_image.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilia Platone committed May 28, 2022
1 parent 6374f84 commit 53eb8b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/json_to_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
json=$1
image=$2

response=$(vlbi_server_json -t 1 -v -f $json)
response=$(vlbi_server_json -t 1 -v -f "$json")
buffer=$(echo $response | jq .model.buffer | tr -d '"')
format=$(echo $response | jq .model.format | tr -d '"')
echo $buffer | base64 -d > $image.$format
echo $buffer | base64 -d > "$image.$format"

0 comments on commit 53eb8b8

Please sign in to comment.