Liten fiks i runner.totaltime()

This commit is contained in:
Trygve 2022-04-10 20:25:33 +02:00
parent 4951861751
commit d734a00774

View File

@ -208,7 +208,7 @@ class runner:
index = self.card_r.controls.index(f_control) index = self.card_r.controls.index(f_control)
return self.card_r.splits[index] return self.card_r.splits[index]
except: except:
return self.card_r.splits[-1] return 0
def status(self): def status(self):
if hasattr(self, 'card_r') == False or self.o_class == None: if hasattr(self, 'card_r') == False or self.o_class == None: