From fe912246a51cc992633707ad603f22a457473145 Mon Sep 17 00:00:00 2001 From: derrod Date: Thu, 2 Dec 2021 13:31:55 +0100 Subject: [PATCH] [cli] Fix variable overlap --- legendary/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/legendary/cli.py b/legendary/cli.py index 08aa269..b1e22c3 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -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())