ikke annta at navn er fylt inn

This commit is contained in:
Trygve 2022-03-10 18:26:01 +01:00
parent b5160008d7
commit 80aec702ec
1 changed files with 4 additions and 1 deletions

View File

@ -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]