Skip to content

Commit 2bdf075

Browse files
committed
Bugfix: response.values() was raising, using fieldname
1 parent 854b4de commit 2bdf075

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tigaserver_app/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ def tigaprob(self) -> float:
756756
total += 1
757757
if "Y" in response.answer or "S" in response.answer:
758758
response_score += 1
759-
elif "No" in response.values():
759+
elif "No" in response.answer:
760760
response_score -= 1
761761
if total == 0:
762762
total = 1

0 commit comments

Comments
 (0)