# HG changeset patch
# User pieter.lukasse@wur.nl
# Date 1422002538 -3600
# Node ID bde3e4dc447623cbab28dec6b4539e5f6967d91f
# Parent  8c20185752dae0b4f1f7fd091ef0b2b244b64aa1
fix

diff -r 8c20185752da -r bde3e4dc4476 nist_wrapper.py
--- 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