mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[core] Skip savegame download if manifest empty
This commit is contained in:
parent
5b4a6e6d9f
commit
f4a1e4610b
|
@ -513,6 +513,11 @@ class LegendaryCore:
|
|||
if r.status_code != 200:
|
||||
self.log.error(f'Download failed, status code: {r.status_code}')
|
||||
continue
|
||||
|
||||
if not r.content:
|
||||
self.log.error('Manifest is empty! Skipping...')
|
||||
continue
|
||||
|
||||
m = self.load_manifest(r.content)
|
||||
|
||||
# download chunks required for extraction
|
||||
|
|
Loading…
Reference in a new issue