Skip to content

Commit

Permalink
[cli] Fix list-files not working with empty install tag
Browse files Browse the repository at this point in the history
  • Loading branch information
derrod committed Sep 30, 2023
1 parent 4c76532 commit 488d14c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions legendary/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,8 @@ def list_files(self, args):

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:
Expand Down

0 comments on commit 488d14c

Please sign in to comment.