This commit is contained in:
Ross
2021-02-01 12:51:39 +00:00
parent 61c5ee7019
commit 61ac45d507
2 changed files with 7 additions and 2 deletions
+2
View File
@@ -222,6 +222,8 @@ class Rapid(models.Model):
def GetPrimaryAnswer(self):
if len(self.answers.all()) > 0:
return self.answers.all().first().answer
elif self.normal:
return "Normal"
else:
return "None yet..."