From 14806f401bf63fbb284a8c42ea7154299e9aac83 Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Thu, 2 Jul 2015 14:58:57 +0200 Subject: [PATCH] Closedown --- script/tests/tests/Collimator Tests/Motor Test 2/Motor Test 2.py | 1 + 1 file changed, 1 insertion(+) diff --git a/script/tests/tests/Collimator Tests/Motor Test 2/Motor Test 2.py b/script/tests/tests/Collimator Tests/Motor Test 2/Motor Test 2.py index abb634f..f60bcfe 100644 --- a/script/tests/tests/Collimator Tests/Motor Test 2/Motor Test 2.py +++ b/script/tests/tests/Collimator Tests/Motor Test 2/Motor Test 2.py @@ -4,6 +4,7 @@ import sys, inspect, os, traceback ###### DO NOT MODIFY THE CODE BELOW ###### def startTest(testName, DEVICE, params): + global inspect #get the path of this script testPath = inspect.getfile(inspect.currentframe()) #by default, failed