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]