Define one room for Hackertourrs
This commit is contained in:
parent
c8994e92cd
commit
a988023b65
2 changed files with 7 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +1,2 @@
|
||||||
*.json
|
*.json
|
||||||
|
**/__pycache__
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue