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