[cli] Fix variable overlap

This commit is contained in:
derrod 2021-12-02 13:31:55 +01:00
parent 27a3d83c45
commit fe912246a5

View file

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