Script execution

This commit is contained in:
gac-x03da
2018-10-13 13:40:16 +02:00
parent 25bc367ee9
commit 1c8622b1dd
+1 -1
View File
@@ -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 "