From 5c4eadad4492294040326bfbeef045c572196884 Mon Sep 17 00:00:00 2001 From: fscarmen <62703343+fscarmen@users.noreply.github.com> Date: Wed, 27 Apr 2022 12:11:49 +0800 Subject: [PATCH] Update unlock.sh --- unlock.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unlock.sh b/unlock.sh index 87f0767..d057af8 100644 --- a/unlock.sh +++ b/unlock.sh @@ -277,7 +277,7 @@ input_region input_tg # 检测 Disney+ 需要用到 python 依赖 -[ ${STREAM_UNLOCK[1]} = 1 ] && check_python +[[ ${STREAM_UNLOCK[1]} = 1 && -z $PYTHON ]] && check_python # 根据解锁模式写入定时任务或systemd sh -c "$TASK"