update shebang lines

This commit is contained in:
SowinskiBraeden committed 2022-09-09 17:35:54 -07:00
1 parent 2343290675
commit 9ba4cc4853
6 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
#! python
#!/usr/bin/env python
import json
with open('./output/students.json') as f: students = json.load(f)
+3 -3
View File
@@ -1,4 +1,4 @@
#! python
#!/usr/bin/env python
import json
import random
from inspect import currentframe
@@ -266,10 +266,10 @@ def generateScheduleV3(
# Step 4 - Attempt to fit classes into timetable
def stepIndex(offset: int, stepType: int) -> int:
# stepType 0 is for stepping between first and second semester
if stepType == 0: return 5 if offset == 0 or offset == -4 else -4
if stepType == 0: return 5 if offset in (0, -4) else -4
# stepType 1 is for stepping between second and first semester
elif stepType == 1: return -5 if offset == 0 or offset == 6 else 6
elif stepType == 1: return -5 if offset in (0, 6) else 6
# Return Error if code is altered to cause error
else: raise SystemExit(f"Invalid 'stepType' in func 'stepIndex' line {getLineNumber()}")
+1 -1
View File
@@ -1,4 +1,4 @@
#! python
#!/usr/bin/env python
from os.path import exists as file_exists
from prettytable import PrettyTable
from typing import Tuple
+1 -1
View File
@@ -1,4 +1,4 @@
#! python
#!/usr/bin/env python
import json
# Get students
+1 -1
View File
@@ -1,4 +1,4 @@
#! python
#!/usr/bin/env python
import json
import csv
+1 -1
View File
@@ -1,4 +1,4 @@
#! python
#!/usr/bin/env python
import json
import csv