[fix] 修复一个错误
This commit is contained in:
parent
b98929a064
commit
0a0ce978fd
@ -55,7 +55,7 @@ def get_update_log(url):
|
||||
download_url = json_str[0]['html_url']
|
||||
return update_log, download_url
|
||||
else:
|
||||
json_str = requests.get(url + '/releases', headers = github_headers, timeout= 10).json()
|
||||
json_str = requests.get(url + '/commits', headers = github_headers, timeout= 10).json()
|
||||
update_log = json_str[0]['commit']['message']
|
||||
return update_log, ''
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user