diff options
author | ankitjavalkar | 2019-04-08 16:12:50 +0530 |
---|---|---|
committer | ankitjavalkar | 2019-04-09 12:59:47 +0530 |
commit | 54e674c12704013377b9dd6b6c82df526f4e1cdb (patch) | |
tree | 64fac43ea99189bae9c689cce489c1043c0e07ee /yaksh/models.py | |
parent | e1eedca03401223e51ef26ae166a2319c5c89eee (diff) | |
download | online_test-54e674c12704013377b9dd6b6c82df526f4e1cdb.tar.gz online_test-54e674c12704013377b9dd6b6c82df526f4e1cdb.tar.bz2 online_test-54e674c12704013377b9dd6b6c82df526f4e1cdb.zip |
Fix PEP8 issues
Diffstat (limited to 'yaksh/models.py')
-rw-r--r-- | yaksh/models.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/yaksh/models.py b/yaksh/models.py index f9dda45..1e96ae1 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -720,8 +720,10 @@ class LearningModule(models.Model): learning_units_with_quiz = self.learning_unit.filter(type='quiz') ordered_units = learning_units_with_quiz.order_by("order") - statuses = [unit.quiz.get_answerpaper_passing_status(user, course) - for unit in ordered_units] + statuses = [ + unit.quiz.get_answerpaper_passing_status(user, course) + for unit in ordered_units + ] if not statuses: status = False |