proton-ge-updater: minor fix
This commit is contained in:
parent
9db9afe74f
commit
99e71477d3
|
@ -49,15 +49,15 @@ with urlopen(Request(url, headers={'Accept': 'application/vnd.github.v3+json'}))
|
|||
builds = data['assets']
|
||||
|
||||
for build in builds:
|
||||
if not build['browser_download_url'].endswith('.tar.gz')
|
||||
if not build['browser_download_url'].endswith('.tar.gz'):
|
||||
continue
|
||||
|
||||
release = {
|
||||
'name': build['name'],
|
||||
'size': build['size'],
|
||||
'date:': build['created_at'],
|
||||
'url': build['browser_download_url']
|
||||
}
|
||||
release = {
|
||||
'name': build['name'],
|
||||
'size': build['size'],
|
||||
'date:': build['created_at'],
|
||||
'url': build['browser_download_url']
|
||||
}
|
||||
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in a new issue