bug fix/better comments/no_refresh option

This commit is contained in:
SowinskiBraeden committed 2022-08-18 00:02:49 -07:00
1 parent 9a6117963a
commit 0bad75a302
3 files changed
+87 -51

No files matched your search

+2 -2
View File
@@ -23,7 +23,7 @@ def getSampleCourses(data_dir, log=False) -> dict:
}
if log:
with open("./output/realCourses.json", "w") as outfile:
with open("./output/courses.json", "w") as outfile:
json.dump(realCourses, outfile, indent=2)
return realCourses
@@ -32,5 +32,5 @@ def getSampleCourses(data_dir, log=False) -> dict:
if __name__ == '__main__':
courseSet: dict = getSampleCourses("../sample_data/course_selection_data.csv")
with open("../output/realCourses.json", "w") as outfile:
with open("../output/courses.json", "w") as outfile:
json.dump(courseSet, outfile, indent=2)