better terminal args
This commit is contained in:
1 file changed
+2
-2
@@ -63,8 +63,8 @@ if __name__ == '__main__':
|
||||
showError = False
|
||||
noAnim = False
|
||||
for e in sys.argv:
|
||||
if e.lower() == 'showerror': showError = True
|
||||
if e.lower() == 'noanim': noAnim = True
|
||||
if e.lower().replace('_', '') == 'showerror': showError = True
|
||||
if e.lower().replace('_', '') == 'noanim': noAnim = True
|
||||
|
||||
if noAnim:
|
||||
sampleStudents = getSampleStudents("./sample_data/course_selection_data.csv", True)
|
||||
|
||||
Reference in new issue
Block a user