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