This commit is contained in:
David Brazda
2023-11-23 12:40:07 +01:00
parent 9571a7e0e6
commit c84fefe6a6
2 changed files with 7 additions and 7 deletions

View File

@ -469,10 +469,10 @@ def batch_run_manager(id: UUID, runReq: RunRequest, rundays: list[RunDay]):
print("Entering BATCH RUN MANAGER")
print("generated batch_ID", batch_id)
#sort rundays according to start atttibute
print("RUNDAYS before sort:", rundays)
#SORT RUNDAYS according to start atttibute
#print("RUNDAYS before sort:", rundays)
rundays.sort(key=lambda x: x.start)
print("RUNDAYS after sort:", rundays)
#print("RUNDAYS after sort:", rundays)
cnt_max = len(rundays)
cnt = 0