From 1c8622b1dda1063de63d264920f22423fd076868 Mon Sep 17 00:00:00 2001 From: gac-x03da Date: Sat, 13 Oct 2018 13:40:16 +0200 Subject: [PATCH] Script execution --- script/users/Granas/automise.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/users/Granas/automise.py b/script/users/Granas/automise.py index fba71b33..bf9915f2 100644 --- a/script/users/Granas/automise.py +++ b/script/users/Granas/automise.py @@ -9,7 +9,7 @@ command_path_tmp = "/sls/X03DA/data/gac-x03da/Data1/2018/10/Granas/XPSstuff/comm for i in range(60): time.sleep(4) - if os.path.exits(command_path_tmp): + if os.path.exists(command_path_tmp): cont = open(command_path_tmp).read() #reading command from file if "manipulator spectrum O1s" in cont: select_edge_tmp = "O1s "