From a988023b658d6c2bfe6fddaf16aa0343e452df65 Mon Sep 17 00:00:00 2001 From: Stefan Bethke Date: Wed, 19 Nov 2025 15:08:05 +0100 Subject: [PATCH] Define one room for Hackertourrs --- .gitignore | 1 + hackertours.py | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index a6c57f5..53b9d95 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ *.json +**/__pycache__ diff --git a/hackertours.py b/hackertours.py index 6e63ea3..6168d86 100644 --- a/hackertours.py +++ b/hackertours.py @@ -40,6 +40,10 @@ def create_schedule(sheet_file: str, schedule_file: str): days_count=5, tz="Europe/Berlin") # schedule.schedule().version = '1.0' + schedule["conference"]["rooms"] = [{ + "name": "Hackertours", + "guid": "aa56c6c6-7dbc-4f73-b189-b8ee2245b0c3", + }] # Remove reporting rows 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'] schedule.add_event(Event({ - 'id': index, + 'id': index+1, 'guid': guid, # ('logo', None, 'date': event_start.isoformat(), 'start': start_time_hm, 'duration': event_duration.strftime("%H:%M"), - 'room': name, + 'room': "Hackertours", 'slug': voc.tools.normalise_string(f"{name}-{int(row['Tag'])}-{start_time_hm}".lower()), 'url': descriptions[name]['Link'], 'title': title,