mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2025-07-27 06:20:56 +00:00
📦 docs: 资源商店新增发布资源功能
This commit is contained in:
@ -46,7 +46,7 @@ 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)
|
print(r.text)
|
||||||
if r.status_code != 200:
|
if r.status_code != 200:
|
||||||
issue.create_comment("下载失败." + edit_tip)
|
issue.create_comment("下载失败.")
|
||||||
return ValueError("下载失败.")
|
return ValueError("下载失败.")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user