maj old python synthax (is to ==)
This commit is contained in:
parent
7b21275c5c
commit
1081df4e2b
@ -334,7 +334,7 @@ class QuizTake(FormView):
|
||||
max_score = len(q_order)
|
||||
percent = int(round((float(score) / max_score) * 100))
|
||||
session, session_possible = anon_session_score(self.request.session)
|
||||
if score is 0:
|
||||
if score == 0:
|
||||
score = "0"
|
||||
|
||||
results = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user