diff options
author | CruiseDevice | 2020-09-01 11:54:01 +0530 |
---|---|---|
committer | CruiseDevice | 2020-09-01 11:54:01 +0530 |
commit | a80fef3789d970d3db17d72f761fe156fe735259 (patch) | |
tree | 30c99e3bae767bc33081e83a287ea44b98fe726d /yaksh/models.py | |
parent | b41cf01f58544a6c71c16bab1854142a3ffc8e03 (diff) | |
download | online_test-a80fef3789d970d3db17d72f761fe156fe735259.tar.gz online_test-a80fef3789d970d3db17d72f761fe156fe735259.tar.bz2 online_test-a80fef3789d970d3db17d72f761fe156fe735259.zip |
Fix tests, Fix PEP8
Diffstat (limited to 'yaksh/models.py')
-rw-r--r-- | yaksh/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/models.py b/yaksh/models.py index 0456b52..eeae4af 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -2311,8 +2311,8 @@ class AnswerPaper(models.Model): q_a[question].append({ 'marks': max([ answer['answer'].marks - for answer in answers - if question == answer['answer'].question + for answer in answers + if question == answer['answer'].question ]) }) |