Define one room for Hackertourrs

This commit is contained in:
Stefan Bethke 2025-11-19 15:08:05 +01:00
commit a988023b65
2 changed files with 7 additions and 2 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
*.json *.json
**/__pycache__

View file

@ -40,6 +40,10 @@ def create_schedule(sheet_file: str, schedule_file: str):
days_count=5, days_count=5,
tz="Europe/Berlin") tz="Europe/Berlin")
# schedule.schedule().version = '1.0' # schedule.schedule().version = '1.0'
schedule["conference"]["rooms"] = [{
"name": "Hackertours",
"guid": "aa56c6c6-7dbc-4f73-b189-b8ee2245b0c3",
}]
# Remove reporting rows # Remove reporting rows
for index, row in planning_df.iterrows(): for index, row in planning_df.iterrows():
@ -76,13 +80,13 @@ def create_schedule(sheet_file: str, schedule_file: str):
abstract = descriptions[name]['Abstract EN'] abstract = descriptions[name]['Abstract EN']
schedule.add_event(Event({ schedule.add_event(Event({
'id': index, 'id': index+1,
'guid': guid, 'guid': guid,
# ('logo', None, # ('logo', None,
'date': event_start.isoformat(), 'date': event_start.isoformat(),
'start': start_time_hm, 'start': start_time_hm,
'duration': event_duration.strftime("%H:%M"), 'duration': event_duration.strftime("%H:%M"),
'room': name, 'room': "Hackertours",
'slug': voc.tools.normalise_string(f"{name}-{int(row['Tag'])}-{start_time_hm}".lower()), 'slug': voc.tools.normalise_string(f"{name}-{int(row['Tag'])}-{start_time_hm}".lower()),
'url': descriptions[name]['Link'], 'url': descriptions[name]['Link'],
'title': title, 'title': title,