Adapted to konachan API change

master
Markus Koch 2016-12-23 18:06:32 +01:00
parent 9ed6f63962
commit 4d12f43a7f
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ while [ 0 ]; do
url=`echo $json | jq -r '.[0].file_url'`
ext=`echo $url | sed "s/.*\.//g"`
url="http:$url"
local_url="$picdir/$id.$ext"
echo "Updating wallpaper to $id..."