[core] Skip savegame download if manifest empty

This commit is contained in:
derrod 2020-08-06 09:28:35 +02:00
parent 5b4a6e6d9f
commit f4a1e4610b

View file

@ -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