From b77c5083c2f954e9bf36b4515c337556a0ba47b3 Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Thu, 29 Sep 2016 18:36:48 +0530 Subject: Reset the current working directory to top most level after evaluation --- yaksh/code_evaluator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yaksh/code_evaluator.py b/yaksh/code_evaluator.py index 90ca6e0..870a67f 100644 --- a/yaksh/code_evaluator.py +++ b/yaksh/code_evaluator.py @@ -135,7 +135,7 @@ class CodeEvaluator(object): def teardown(self): # Cancel the signal delete_signal_handler() - self._change_dir(MY_DIR) + self._change_dir(dirname(MY_DIR)) def check_code(self): raise NotImplementedError("check_code method not implemented") -- cgit