[cli] Fix list-files not working with empty install tag

This commit is contained in:
derrod 2023-09-30 03:38:26 +02:00
parent 4c765325af
commit 488d14c6e0

View file

@ -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: