From 488d14c6e0573061cca5ae565bf70ee9654521be Mon Sep 17 00:00:00 2001 From: derrod Date: Sat, 30 Sep 2023 03:38:26 +0200 Subject: [PATCH] [cli] Fix list-files not working with empty install tag --- legendary/cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/legendary/cli.py b/legendary/cli.py index 8cc9f5d..71764ca 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -371,6 +371,8 @@ class LegendaryCLI: if args.install_tag: files = [fm for fm in files if args.install_tag in fm.install_tags] + elif args.install_tag is not None: + files = [fm for fm in files if not fm.install_tags] if args.hashlist: for fm in files: