diff --git a/app/scodoc/TrivialFormulator.py b/app/scodoc/TrivialFormulator.py index bb9bb7f2..e894f4d0 100644 --- a/app/scodoc/TrivialFormulator.py +++ b/app/scodoc/TrivialFormulator.py @@ -163,7 +163,7 @@ class TF(object): "true if form has been submitted" if self.is_submitted: return True - return self.values.get("%s-submitted" % self.formid, False) + return self.values.get("%s_submitted" % self.formid, False) def canceled(self): "true if form has been canceled" @@ -363,7 +363,7 @@ class TF(object): '