From 80aec702ec00dbb11d83f33eaf73f6a3ab2df025 Mon Sep 17 00:00:00 2001 From: Trygve Date: Thu, 10 Mar 2022 18:26:01 +0100 Subject: [PATCH] ikke annta at navn er fylt inn --- otime.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/otime.py b/otime.py index ae8994c..a991ebd 100644 --- a/otime.py +++ b/otime.py @@ -298,7 +298,10 @@ def ttime_db_to_class(ttime_file, o_class_list=[]): eventorid = row[0] country = '' name = row[2].split(',') - first = name[1].strip() + try: + first = name[1].strip() + except: + first = '' last = name[0] try: club = row[4]