瀏覽代碼

Create thumb for second picture

tags/v1.7
Nico Rey 3 年之前
父節點
當前提交
3c50ace54a
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      receive_iss.sh

+ 1
- 0
receive_iss.sh 查看文件

@@ -47,6 +47,7 @@ if [ -f "$NOAA_HOME/demod.py" ]; then
if [ "$img_count" -eq 1 ]; then
python3 "${NOAA_HOME}/post.py" "$1 ${START_DATE} Resolución completa: https://weather.reyni.co/detail.php?id=$pass_id" "$7" "${NOAA_OUTPUT}/images/${3}-0.png"
elif [ "$img_count" -eq 2 ]; then
/usr/bin/convert -thumbnail 300 "${NOAA_OUTPUT}/images/${3}-1.png" "${NOAA_OUTPUT}/images/thumb/${3}-1.png"
python3 "${NOAA_HOME}/post.py" "$1 ${START_DATE} Mas imagenes: https://weather.reyni.co/detail.php?id=$pass_id" "$7" "${NOAA_OUTPUT}/images/${3}-0.png" "${NOAA_OUTPUT}/images/${3}-1.png"
fi
fi


Loading…
取消
儲存