forked from Trygve/otime
Liten fiks i runner.totaltime()
This commit is contained in:
parent
4951861751
commit
d734a00774
2
otime.py
2
otime.py
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user