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

View File

@ -298,7 +298,10 @@ def ttime_db_to_class(ttime_file, o_class_list=[]):
eventorid = row[0] eventorid = row[0]
country = '' country = ''
name = row[2].split(',') name = row[2].split(',')
first = name[1].strip() try:
first = name[1].strip()
except:
first = ''
last = name[0] last = name[0]
try: try:
club = row[4] club = row[4]