@@ -27,7 +27,7 @@ def convert_csv_in_folder(folder, export_csv, all_reports=False):
with file.open("r") as frh:
reader = csv.reader(frh, delimiter=";")
for row in reader:
- if row[1] in ["Empfaenger"]:
+ if len(row) < 2 or row[1] in ["Empfaenger"]:
continue
if row[1] == "":
if all_reports: