From a2ceb929074430e513f2637ee90d08d55ea1b56e Mon Sep 17 00:00:00 2001 From: Ivan Blinkov Date: Tue, 31 Mar 2020 16:04:53 +0300 Subject: [PATCH] Update concatenate.py --- docs/tools/concatenate.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/tools/concatenate.py b/docs/tools/concatenate.py index cfbc2acbb4c..65efe9bb5eb 100755 --- a/docs/tools/concatenate.py +++ b/docs/tools/concatenate.py @@ -14,9 +14,8 @@ def concatenate(lang, docs_path, single_page_file): files_to_concatenate = [(l[l.index(':') + 1:]).strip(" '\n") for l in cfg_file if '.md' in l and 'single_page' not in l] - logging.info( - str(len(files_to_concatenate)) + - ' files will be concatenated into single md-file.') + files_count = len(files_to_concatenate) + logging.info(f'{files_count} files will be concatenated into single md-file for {lang}.') logging.debug('Concatenating: ' + ', '.join(files_to_concatenate)) for path in files_to_concatenate: