修复青龙拉库脚本名称

This commit is contained in:
CHERWING 2024-04-18 12:06:55 +08:00 committed by GitHub
parent aeb07cae8e
commit 01df6d190b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,8 +3,8 @@
# ------------------------------- # -------------------------------
# ✨✨✨ @Author CHERWIN✨✨✨ # ✨✨✨ @Author CHERWIN✨✨✨
# ------------------------------- # -------------------------------
# cron "0 6 * * *" script-path=xxx.py,tag=匹配cron用 # cron "0 7 * * *" script-path=xxx.py,tag=匹配cron用
# const $ = new Env('中通快递小程序签到') # const $ = new Env('德邦快递小程序签到')
import os import os
import requests import requests
@ -398,7 +398,7 @@ export SCRIPT_UPDATE = 'False' 关闭脚本自动更新,默认开启
@Author CHERWIN @Author CHERWIN
''') ''')
local_script_name = os.path.basename(__file__) local_script_name = os.path.basename(__file__)
local_version = '2024.04.06' local_version = '2024.04.18'
if os.path.isfile('CHERWIN_TOOLS.py'): if os.path.isfile('CHERWIN_TOOLS.py'):
import_Tools() import_Tools()
else: else:
@ -422,4 +422,4 @@ export SCRIPT_UPDATE = 'False' 关闭脚本自动更新,默认开启
for index, infos in enumerate(tokens): for index, infos in enumerate(tokens):
run_result = RUN(infos, index).main() run_result = RUN(infos, index).main()
if not run_result: continue if not run_result: continue
if send: send(f'{APP_NAME}挂机通知', send_msg + TIPS_HTML) if send: send(f'{APP_NAME}挂机通知', send_msg + TIPS_HTML)