From 1430e321e6e791212714f7cbd28ac3493f262ea2 Mon Sep 17 00:00:00 2001 From: derrod Date: Wed, 16 Dec 2020 12:37:12 +0100 Subject: [PATCH] [core/utils] Miscellaneous whitespace, comment, text fixes --- legendary/cli.py | 4 ++-- legendary/utils/selective_dl.py | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/legendary/cli.py b/legendary/cli.py index de8e434..1c7f9b3 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -269,7 +269,7 @@ class LegendaryCLI: elif args.csv or args.tsv: writer = csv.writer(stdout, dialect='excel-tab' if args.tsv else 'excel') writer.writerow(['path', 'hash', 'size', 'install_tags']) - writer.writerows((fm.filename, fm.hash.hex(), fm.file_size, '|'.join(fm.install_tags))for fm in files) + writer.writerows((fm.filename, fm.hash.hex(), fm.file_size, '|'.join(fm.install_tags)) for fm in files) elif args.json: _files = [] for fm in files: @@ -628,7 +628,7 @@ class LegendaryCLI: logger.info(f'Download size: {analysis.dl_size / 1024 / 1024:.02f} MiB ' f'(Compression savings: {compression:.01f}%)') logger.info(f'Reusable size: {analysis.reuse_size / 1024 / 1024:.02f} MiB (chunks) / ' - f'{analysis.unchanged / 1024 / 1024:.02f} MiB (unchanged)') + f'{analysis.unchanged / 1024 / 1024:.02f} MiB (unchanged / skipped)') res = self.core.check_installation_conditions(analysis=analysis, install=igame, game=game, updating=self.core.is_installed(args.app_name), diff --git a/legendary/utils/selective_dl.py b/legendary/utils/selective_dl.py index 2a0b405..c0ec31a 100644 --- a/legendary/utils/selective_dl.py +++ b/legendary/utils/selective_dl.py @@ -1,3 +1,6 @@ +# This file contains definitions for selective downloading for supported games +# coding: utf-8 + _cyberpunk_sdl = { 'de': {'tags': ['voice_de_de'], 'name': 'Deutsch'}, 'es': {'tags': ['voice_es_es'], 'name': 'español (España)'},