diff options
author | ankitjavalkar | 2016-12-19 17:43:41 +0530 |
---|---|---|
committer | ankitjavalkar | 2016-12-20 12:46:03 +0530 |
commit | 81d373983806b78d651e17b966bae0a8ccf3c4bb (patch) | |
tree | 8a4b5e37b71d8c13243480d2199ebf9dfeb517e0 /yaksh/code_evaluator.py | |
parent | f1da39aded67efa3da145851f0e9f687a3e434e5 (diff) | |
download | online_test-81d373983806b78d651e17b966bae0a8ccf3c4bb.tar.gz online_test-81d373983806b78d651e17b966bae0a8ccf3c4bb.tar.bz2 online_test-81d373983806b78d651e17b966bae0a8ccf3c4bb.zip |
Fix model test cases
Diffstat (limited to 'yaksh/code_evaluator.py')
-rw-r--r-- | yaksh/code_evaluator.py | 2 |
1 files changed, 1 insertions, 1 deletions
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, |