mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[core] Return empty games list if assets empty
This commit is contained in:
parent
3793601de3
commit
869c749908
|
@ -406,6 +406,9 @@ class LegendaryCore:
|
|||
for _platform in platforms:
|
||||
self.get_assets(update_assets=update_assets, platform=_platform)
|
||||
|
||||
if not self.lgd.assets:
|
||||
return _ret, _dlc
|
||||
|
||||
assets = {}
|
||||
for _platform, _assets in self.lgd.assets.items():
|
||||
for _asset in _assets:
|
||||
|
|
Loading…
Reference in a new issue