diff options
author | ankitjavalkar | 2016-11-10 17:49:24 +0530 |
---|---|---|
committer | ankitjavalkar | 2016-11-10 17:49:24 +0530 |
commit | 2100ef108b7119370051f8117c3bb58315fad270 (patch) | |
tree | 162b6ccab786732a2a6ef6f345d5c9917495e06a /yaksh/code_evaluator.py | |
parent | a09df642d4f3623ee517aaed2eac1372ebacc0e0 (diff) | |
download | online_test-2100ef108b7119370051f8117c3bb58315fad270.tar.gz online_test-2100ef108b7119370051f8117c3bb58315fad270.tar.bz2 online_test-2100ef108b7119370051f8117c3bb58315fad270.zip |
Fix minor errors, fix template rendering in grade user
Diffstat (limited to 'yaksh/code_evaluator.py')
-rw-r--r-- | yaksh/code_evaluator.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/code_evaluator.py b/yaksh/code_evaluator.py index fda0a8d..b39a1d7 100644 --- a/yaksh/code_evaluator.py +++ b/yaksh/code_evaluator.py @@ -86,10 +86,10 @@ class CodeEvaluator(object): """ self.setup() - success, error, marks = self.safe_evaluate(**kwargs) + success, error, weightage = self.safe_evaluate(**kwargs) self.teardown() - result = {'success': success, 'error': error, 'marks': marks} + result = {'success': success, 'error': error, 'weightage': weightage} return result # Private Protocol ########## |