[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,8 +189,9 @@ 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)
# use the log output so this isn't included when piping file list into file if install_tags:
logger.info(f'Install tags: {", ".join(sorted(install_tags))}') # use the log output so this isn't included when piping file list into file
logger.info(f'Install tags: {", ".join(sorted(install_tags))}')
def launch_game(self, args, extra): def launch_game(self, args, extra):
app_name = args.app_name app_name = args.app_name