From 3aa7aaa509f6ddd16985ad5cf8906149179d4f15 Mon Sep 17 00:00:00 2001 From: powe97 <116031952+powe97@users.noreply.github.com> Date: Thu, 27 Jul 2023 17:29:55 -0400 Subject: [PATCH] Why do I do this to myself --- src/GenerateHtml.cpp | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/GenerateHtml.cpp b/src/GenerateHtml.cpp index b45a9df..a9c8ffc 100644 --- a/src/GenerateHtml.cpp +++ b/src/GenerateHtml.cpp @@ -186,6 +186,7 @@ bool create_dir_if_not_exist(const fs::path& path) { Json::Value get_data(const Json::Value& data, std::string course_id) { + Json::Value out; course_id[4] = '-'; if(course_id.substr(0,4) == "STSO") { std::cerr<<"course id: "<)" << course_title << " (" << credit_string << "c)";