Fix status()
This commit is contained in:
parent
0d5fbbc842
commit
79016265d9
|
@ -51,7 +51,7 @@ class LexiconModel():
|
||||||
def status(self):
|
def status(self):
|
||||||
if self.turn.current is None:
|
if self.turn.current is None:
|
||||||
return "unstarted"
|
return "unstarted"
|
||||||
elif self.turn.current > lex.turn.max:
|
elif self.turn.current > self.turn.max:
|
||||||
return "completed"
|
return "completed"
|
||||||
else:
|
else:
|
||||||
return "ongoing"
|
return "ongoing"
|
Loading…
Reference in New Issue