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.')
|
logger.error('Login failed! Not checking for updates.')
|
||||||
else:
|
else:
|
||||||
# Update assets for all platforms currently installed
|
# Update assets for all platforms currently installed
|
||||||
for platform in self.core.get_installed_platforms():
|
for app_platform in self.core.get_installed_platforms():
|
||||||
self.core.get_assets(True, platform=platform)
|
self.core.get_assets(True, platform=app_platform)
|
||||||
|
|
||||||
games = sorted(self.core.get_installed_list(include_dlc=True),
|
games = sorted(self.core.get_installed_list(include_dlc=True),
|
||||||
key=lambda x: x.title.lower())
|
key=lambda x: x.title.lower())
|
||||||
|
|
Loading…
Reference in a new issue