From 015d65e3e0ad6091479436b61affb4562071c2ef Mon Sep 17 00:00:00 2001 From: routel-nolan Date: Fri, 18 Oct 2024 15:10:00 +0200 Subject: [PATCH] correction of the error --- gen-wiki.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen-wiki.py b/gen-wiki.py index fc71459..af992b1 100644 --- a/gen-wiki.py +++ b/gen-wiki.py @@ -102,7 +102,7 @@ def process_environment(environment, config, output_dir): markdown_content += content for file in files: - if file.endswith('.md') in root: + if file.endswith('.md'): with open(os.path.join(root, file), 'r') as f: content = f.read() if content.strip():