From 2c8ef4199eec7bbfdb18a7bb749a8090c8d7f80e Mon Sep 17 00:00:00 2001 From: rdamaral Date: Tue, 2 Jul 2024 13:59:27 -0400 Subject: [PATCH] Small fix to `parse_theses` --- yaml2md.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yaml2md.py b/yaml2md.py index 1a0af0c..e609f24 100644 --- a/yaml2md.py +++ b/yaml2md.py @@ -131,7 +131,7 @@ def parse_theses(header, file): entries = yaml.safe_load(f) for type in ['PhD Thesis','MS Thesis','BS Thesis']: - formatted_entries += f"## {type.upper()}\n\n" + parsed_entries += f"## {type.upper()}\n\n" No = len([entry for entry in entries if entry['type'] == type]) for entry in entries: if entry['type'] == type: