new previews
This commit is contained in:
2 files changed
+5
-11
No files matched your search
Binary file not shown.
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
@@ -55,17 +55,17 @@ def errorOutput(students) -> Tuple[PrettyTable, dict, dict]:
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
if len(sys.argv) == 1:
|
||||
print()
|
||||
|
||||
st = time() # Start time
|
||||
|
||||
showError = False
|
||||
noAnim = False
|
||||
for e in sys.argv:
|
||||
if e.lower().replace('_', '') == 'showerror': showError = True
|
||||
if e.lower().replace('_', '') == 'noanim': noAnim = True
|
||||
|
||||
if len(sys.argv) == 1:
|
||||
print()
|
||||
|
||||
st = time() # Start time
|
||||
|
||||
if noAnim:
|
||||
sampleStudents = getSampleStudents("./sample_data/course_selection_data.csv", True)
|
||||
sampleCourses = getSampleCourses("./sample_data/course_selection_data.csv", True)
|
||||
@@ -111,12 +111,6 @@ if __name__ == '__main__':
|
||||
elif sys.argv[1].lower() == "no_refresh":
|
||||
print()
|
||||
|
||||
showError = False
|
||||
noAnim = False
|
||||
for e in sys.argv:
|
||||
if e.lower() == 'showerror': showError = True
|
||||
if e.lower() == 'noanim': noAnim = True
|
||||
|
||||
st = time() # Start time
|
||||
|
||||
if not file_exists('./output/students.json') or not file_exists('./output/courses.json'):
|
||||
|
||||
Reference in new issue
Block a user