From 81d373983806b78d651e17b966bae0a8ccf3c4bb Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Mon, 19 Dec 2016 17:43:41 +0530 Subject: Fix model test cases --- yaksh/code_evaluator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yaksh/code_evaluator.py') diff --git a/yaksh/code_evaluator.py b/yaksh/code_evaluator.py index f1ac5b7..52720df 100644 --- a/yaksh/code_evaluator.py +++ b/yaksh/code_evaluator.py @@ -74,7 +74,7 @@ class CodeEvaluator(object): msg = 'Code took more than %s seconds to run. You probably '\ 'have an infinite loop in your code.' % SERVER_TIMEOUT self.timeout_msg = msg - self.in_dir = in_dir + self.in_dir = in_dir if in_dir else MY_DIR def evaluate(self, kwargs): #language, test_case_type, -- cgit