X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/855e20a0f1ab22b60ec58414b4a70b1255e321c0..b8ed4acbfa53cc72b82b851f1ec2e28c5e821384:/wtem/models.py?ds=sidebyside diff --git a/wtem/models.py b/wtem/models.py index d355506..3947632 100644 --- a/wtem/models.py +++ b/wtem/models.py @@ -127,6 +127,8 @@ class Submission(models.Model): if t == 'edumed_prawdafalsz': toret = 0 for idx, statement in enumerate(exercise['statements']): + if statement[1] == 'ignore': + continue if answer[idx] == 'true': given = True elif answer[idx] == 'false':