mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[cli] Fix list-files not working with empty install tag
This commit is contained in:
parent
4c765325af
commit
488d14c6e0
|
@ -371,6 +371,8 @@ class LegendaryCLI:
|
||||||
|
|
||||||
if args.install_tag:
|
if args.install_tag:
|
||||||
files = [fm for fm in files if args.install_tag in fm.install_tags]
|
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:
|
if args.hashlist:
|
||||||
for fm in files:
|
for fm in files:
|
||||||
|
|
Loading…
Reference in a new issue