File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2293,7 +2293,7 @@ def preprocess_inputs( # noqa: C901
22932293 # This time, (1) we do it only for python; (2) added try statement
22942294
22952295 try :
2296- if command .startswith ('python' ):
2296+ if command .startswith ('python' ) and self . run_type == 'set_up' :
22972297 if platform .system () == 'Windows' :
22982298 driver_script += 'if %errorlevel% neq 0 exit /b -1 \n ' #TODO ANYONE: This variable is not defined. Check This please. (Added by Sina)
22992299 else :
@@ -2461,7 +2461,7 @@ def create_driver_file( # noqa: C901
24612461 # This time, (1) we do it only for python; (2) added try statement
24622462
24632463 # try:
2464- if 'python' in command_list [0 ].lower ():
2464+ if 'python' in command_list [0 ].lower () and self . run_type == 'set_up' :
24652465 if platform .system () == 'Windows' :
24662466 driver_script += 'if %errorlevel% neq 0 exit /b -1 \n '
24672467 else :
You can’t perform that action at this time.
0 commit comments