From b4b33cc37244ed59765c705c6d882c00ddc88c62 Mon Sep 17 00:00:00 2001 From: adityacp Date: Fri, 17 Mar 2017 20:49:13 +0530 Subject: Intialize empty list for assignment files in hook --- yaksh/hook_evaluator.py | 1 + 1 file changed, 1 insertion(+) 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') -- cgit