1
0
Fork 0
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:
morpheus65535 2021-09-21 08:04:22 -04:00
parent 8b2c77c17b
commit 36a2309bca

View file

@ -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'],