mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[cli] Fix variable overlap
This commit is contained in:
parent
27a3d83c45
commit
fe912246a5
|
@ -257,8 +257,8 @@ class LegendaryCLI:
|
|||
logger.error('Login failed! Not checking for updates.')
|
||||
else:
|
||||
# Update assets for all platforms currently installed
|
||||
for platform in self.core.get_installed_platforms():
|
||||
self.core.get_assets(True, platform=platform)
|
||||
for app_platform in self.core.get_installed_platforms():
|
||||
self.core.get_assets(True, platform=app_platform)
|
||||
|
||||
games = sorted(self.core.get_installed_list(include_dlc=True),
|
||||
key=lambda x: x.title.lower())
|
||||
|
|
Loading…
Reference in a new issue