From 608c71708fec3946aee57ad0cb95be1b6897fced Mon Sep 17 00:00:00 2001 From: Falko Zurell Date: Sun, 17 Nov 2024 21:26:40 +0100 Subject: [PATCH] adjusted code to match CryptPad file format --- csv-to-ics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csv-to-ics.py b/csv-to-ics.py index 700e9e0..6da1f0c 100644 --- a/csv-to-ics.py +++ b/csv-to-ics.py @@ -40,7 +40,7 @@ def generate_ical_from_csv(csv_file): for row in reader: try: # Parse the data from CSV - host = row['Gastgeber'] + host = row['Host'] description = row['Description'] date = row['Date'].strip() # Expected format: DD.MM.YYYY start_time = row['start time'].strip() # Expected format: HH:MM