mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-11 04:07:23 +08:00
📦 docs: 资源商店新增发布资源功能
This commit is contained in:
parent
f95899aebd
commit
23338437e9
@ -59,7 +59,6 @@ def pre_check(github: Github, issue: Issue, repo: Repository) -> err:
|
|||||||
|
|
||||||
# 下载并解析资源包
|
# 下载并解析资源包
|
||||||
r = requests.get(link, headers=headers)
|
r = requests.get(link, headers=headers)
|
||||||
print(r.text)
|
|
||||||
if r.status_code != 200:
|
if r.status_code != 200:
|
||||||
push_check_result(issue, "❌ 下载失败.")
|
push_check_result(issue, "❌ 下载失败.")
|
||||||
return ValueError("下载失败.")
|
return ValueError("下载失败.")
|
||||||
|
Loading…
Reference in New Issue
Block a user