summaryrefslogtreecommitdiff
path: root/yaksh/hook_evaluator.py
diff options
context:
space:
mode:
authoradityacp2017-03-17 20:49:13 +0530
committeradityacp2017-03-17 20:49:13 +0530
commitb4b33cc37244ed59765c705c6d882c00ddc88c62 (patch)
tree9cf8bf2e60605cacd74a16275e81f645ebf5b1e0 /yaksh/hook_evaluator.py
parent5ae3841e4c432d5c0ee378ac9a4142f205b1dbb6 (diff)
downloadonline_test-b4b33cc37244ed59765c705c6d882c00ddc88c62.tar.gz
online_test-b4b33cc37244ed59765c705c6d882c00ddc88c62.tar.bz2
online_test-b4b33cc37244ed59765c705c6d882c00ddc88c62.zip
Intialize empty list for assignment files in hook
Diffstat (limited to 'yaksh/hook_evaluator.py')
-rw-r--r--yaksh/hook_evaluator.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yaksh/hook_evaluator.py b/yaksh/hook_evaluator.py
index 052d220..0819ec9 100644
--- a/yaksh/hook_evaluator.py
+++ b/yaksh/hook_evaluator.py
@@ -12,6 +12,7 @@ from .grader import TimeoutException
class HookEvaluator(BaseEvaluator):
def __init__(self, metadata, test_case_data):
self.files = []
+ self.assign_files = []
# Set metadata values
self.user_answer = metadata.get('user_answer')