neat variable declaration

This commit is contained in:
SowinskiBraeden committed 2022-12-02 17:01:09 -08:00
1 parent 04115d9db1
commit ec74716d58
1 file changed
+4 -3
+4 -3
View File
@@ -95,9 +95,10 @@ def generateScheduleV3(
# Step 2 - Generate empty classes # Step 2 - Generate empty classes
allClassRunCounts = [] allClassRunCounts: list[int] = []
courseRunInfo = {} # Generated now, used in step 4 courseRunInfo: dict[str: dict[str: any]] = {} # Generated now, used in step 4
emptyClasses = {} # List of all classes with how many students should be entered during step 3 emptyClasses: dict[str: dict[str: any]] = {} # List of all classes with how many students should be entered during step 3
# calculate number of times to run class # calculate number of times to run class
for i in range(len(activeCourses)): for i in range(len(activeCourses)):
index = list(activeCourses)[i] index = list(activeCourses)[i]