Skip to content

Commit 9ca50e8

Browse files
committed
overzealous
1 parent 70e95a8 commit 9ca50e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pycon/schedule/views.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def slides_download(request):
200200
# now that we accumulated all of the days/rooms, change back to non-default_dict, so templates work
201201
grouped_slides = OrderedDict()
202202
for day, rooms in day_room_time.items():
203-
grouped_slides[day] = OrderedDict(sorted(rooms.items(), key=lambda room: room.first()))
203+
grouped_slides[day] = OrderedDict(sorted(rooms.items(), key=lambda room: room[0]))
204204
return render(request, "pycon/schedule/slides_download.html", context={'grouped_slides': grouped_slides})
205205

206206

0 commit comments

Comments
 (0)