From 8b84be71d3246309b4d55a88e3fbb83a4a4fe013 Mon Sep 17 00:00:00 2001 From: Philipp van Kempen Date: Sat, 26 Oct 2024 17:06:48 +0200 Subject: [PATCH] update scripts --- gen_messages.py | 4 ++-- gen_summary.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gen_messages.py b/gen_messages.py index 876079d..1ff1c3f 100644 --- a/gen_messages.py +++ b/gen_messages.py @@ -10,9 +10,9 @@ directory = Path(args.directory) -with open(directory / "fail", "r") as f: +with open(directory / "fail.txt", "r") as f: fail_content = f.readlines() -with open(directory / "pass", "r") as f: +with open(directory / "pass.txt", "r") as f: pass_content = f.readlines() pass_content = [line.strip() for line in pass_content if len(line.strip()) > 0] diff --git a/gen_summary.py b/gen_summary.py index 4f317a9..81fd025 100644 --- a/gen_summary.py +++ b/gen_summary.py @@ -13,9 +13,9 @@ directory = Path(args.directory) -with open(directory / "fail", "r") as f: +with open(directory / "fail.txt", "r") as f: fail_content = f.readlines() -with open(directory / "pass", "r") as f: +with open(directory / "pass.txt", "r") as f: pass_content = f.readlines() pass_content = [line.strip() for line in pass_content if len(line.strip()) > 0]