adjusted code to match CryptPad file format

This commit is contained in:
Falko Zurell 2024-11-17 21:26:40 +01:00
parent 210cdff15e
commit 608c71708f

View file

@ -40,7 +40,7 @@ def generate_ical_from_csv(csv_file):
for row in reader: for row in reader:
try: try:
# Parse the data from CSV # Parse the data from CSV
host = row['Gastgeber'] host = row['Host']
description = row['Description'] description = row['Description']
date = row['Date'].strip() # Expected format: DD.MM.YYYY date = row['Date'].strip() # Expected format: DD.MM.YYYY
start_time = row['start time'].strip() # Expected format: HH:MM start_time = row['start time'].strip() # Expected format: HH:MM