Skip to content

Commit f1d0a31

Browse files
committed
Alter order of fields in schedule.csv
1 parent c661994 commit f1d0a31

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/scheduler/io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def export_schedule(solution, events, slots):
108108
]
109109
with csv_file.open('w') as f:
110110
writer = csv.DictWriter(
111-
f, fieldnames=['event_index', 'slot_index', 'event', 'slot'])
111+
f, fieldnames=['event_index', 'event', 'slot_index', 'slot'])
112112
writer.writeheader()
113113
for item in scheduled_items:
114114
writer.writerow(item)

0 commit comments

Comments
 (0)