[cli] only print install tags if present

Most games don't seem to use them anyway.
This commit is contained in:
derrod 2020-05-01 14:36:50 +02:00
parent 9b5620ca30
commit 5557dc63ae

View file

@ -189,6 +189,7 @@ class LegendaryCLI:
print(fm.filename) print(fm.filename)
for t in fm.install_tags: for t in fm.install_tags:
install_tags.add(t) install_tags.add(t)
if install_tags:
# use the log output so this isn't included when piping file list into file # use the log output so this isn't included when piping file list into file
logger.info(f'Install tags: {", ".join(sorted(install_tags))}') logger.info(f'Install tags: {", ".join(sorted(install_tags))}')