Content-Length: 272007 | pFad | http://github.com/EuroPython/programapi/commit/bcdacd8d8723124c822b6d9e95fe5140a19dadc1

FC Expand registration sessions to all rooms (#41) · EuroPython/programapi@bcdacd8 · GitHub
Skip to content

Commit bcdacd8

Browse files
authored
Expand registration sessions to all rooms (#41)
1 parent 91d6401 commit bcdacd8

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/models/europython.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,5 +237,11 @@ def from_events(
237237
)
238238
day_dict[event_date]["events"].append(event)
239239

240+
# Registration session should cover all rooms
241+
for day in day_dict.values():
242+
for event in day["events"]:
243+
if "Registration & Welcome" in event.title:
244+
event.rooms = list(set(day["rooms"]))
245+
240246
day_schedule_dict = {k: DaySchedule(**v) for k, v in day_dict.items()}
241247
return cls(days=day_schedule_dict)

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/EuroPython/programapi/commit/bcdacd8d8723124c822b6d9e95fe5140a19dadc1

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy