mirror of
https://github.com/derrod/legendary.git
synced 2026-05-06 14:13:20 +00:00
[cli] correctly pass get_assets platform argument
This commit is contained in:
parent
9cf6fd21ce
commit
1ea25253a5
|
|
@ -1734,7 +1734,7 @@ class LegendaryCLI:
|
|||
# list all owned DLC based on entitlements
|
||||
if entitlements and not game.is_dlc:
|
||||
owned_entitlements = {i['entitlementName'] for i in entitlements}
|
||||
owned_app_names = {g.app_name for g in self.core.get_assets(args.platform)}
|
||||
owned_app_names = {g.app_name for g in self.core.get_assets(platform=args.platform)}
|
||||
owned_dlc = []
|
||||
for dlc in game.metadata.get('dlcItemList', []):
|
||||
installable = dlc.get('releaseInfo', None)
|
||||
|
|
|
|||
Loading…
Reference in a new issue