mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-23 08:13:14 +00:00
Prevent broken release (missing asset) from corrupting existing installation.
This commit is contained in:
parent
8b2c77c17b
commit
36a2309bca
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ def check_releases():
|
|||
if asset['name'] == 'bazarr.zip':
|
||||
download_link = asset['browser_download_url']
|
||||
if not download_link:
|
||||
download_link = release['zipball_url']
|
||||
continue
|
||||
releases.append({'name': release['name'],
|
||||
'body': release['body'],
|
||||
'date': release['published_at'],
|
||||
|
|
Loading…
Reference in a new issue