diff --git a/csv-to-ics.py b/csv-to-ics.py index 3b99989..1b1cf14 100644 --- a/csv-to-ics.py +++ b/csv-to-ics.py @@ -21,7 +21,7 @@ def generate_ical_from_csv(csv_file): for row in reader: try: # Parse the data from CSV - host = row['Host'] + host = row['Gastgeber'] description = row['Description'] date = row['Date'].strip() # Expected format: DD.MM.YYYY start_time = row['start time'].strip() # Expected format: HH:MM @@ -34,7 +34,7 @@ def generate_ical_from_csv(csv_file): # Create a new event event = Event() - event.name = f"{description} (Host: {host})" # Include the host in the event name + event.name = f"{description} (Gastgeber: {host})" # Include the host in the event name event.begin = start_datetime event.end = end_datetime event.location = location