From 79016265d900d7dd9541b032a4cff7b296e591c7 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Mon, 20 Jan 2020 13:13:06 -0800 Subject: [PATCH] Fix status() --- amanuensis/lexicon/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amanuensis/lexicon/__init__.py b/amanuensis/lexicon/__init__.py index 4e8fdf6..0f64fd0 100644 --- a/amanuensis/lexicon/__init__.py +++ b/amanuensis/lexicon/__init__.py @@ -51,7 +51,7 @@ class LexiconModel(): def status(self): if self.turn.current is None: return "unstarted" - elif self.turn.current > lex.turn.max: + elif self.turn.current > self.turn.max: return "completed" else: return "ongoing" \ No newline at end of file