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