forked from Trygve/otime
Småting
This commit is contained in:
parent
6289690149
commit
af8bd3a31c
5
otime.py
5
otime.py
@ -150,6 +150,7 @@ class runner:
|
||||
card = int(tt_line[6])
|
||||
except:
|
||||
card = 0
|
||||
runner_o_class = None
|
||||
try:
|
||||
raw_class_str = tt_line[3]
|
||||
except:
|
||||
@ -289,8 +290,8 @@ def classes_from_ttime_conf(ttime_file, courses):
|
||||
raw_courselist = re.search(r'(?<=\")(.*?)(?=\")', line).group().split(';')
|
||||
loops = 0
|
||||
for n in raw_courselist:
|
||||
n = n.split(',')
|
||||
for i in n:
|
||||
split = n.split(',')
|
||||
for i in split:
|
||||
o_classes.append(o_class(i,courses[loops]))
|
||||
loops += 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user