Mercurial > repos > pieterlukasse > nist_wrapper
changeset 10:bde3e4dc4476
fix
author | pieter.lukasse@wur.nl |
---|---|
date | Fri, 23 Jan 2015 09:42:18 +0100 |
parents | 8c20185752da |
children | a62374fcee9c |
files | nist_wrapper.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/nist_wrapper.py Thu Jan 22 22:14:23 2015 +0100 +++ b/nist_wrapper.py Fri Jan 23 09:42:18 2015 +0100 @@ -134,12 +134,12 @@ timeSleeping = 0 # monitor process by checking state file: utils.log_message(log_file, "monitoring SRCREADY.TXT...") - while True and timeSleeping < 20: + while timeSleeping < 20: # check if SRCREADY.TXT is there already: if os.path.exists(file_to_monitor): break time.sleep(2) - timeSleeping =+ 2 + timeSleeping = timeSleeping+2 # kill process: #p.terminate() - not needed, nistm$ will terminate...nistms.exe is the one that