From 6c3550405801e07ce52b7fa435f1720e01beb007 Mon Sep 17 00:00:00 2001 From: derrod Date: Tue, 14 Dec 2021 14:30:33 +0100 Subject: [PATCH] [cli] Fix wrong type in cleanup command Fixes #378 --- legendary/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/cli.py b/legendary/cli.py index 56dc6f9..a5855e4 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -1736,7 +1736,7 @@ class LegendaryCLI: before = self.core.lgd.get_dir_size() # delete metadata logger.debug('Removing app metadata...') - app_names = {} + app_names = set() for _platform in self.core.get_installed_platforms(): app_names |= set(g.app_name for g in self.core.get_assets(update_assets=False, platform=_platform)) self.core.lgd.clean_metadata(app_names)