diff --git a/script/local.py b/script/local.py index 16bae327..10945c2a 100644 --- a/script/local.py +++ b/script/local.py @@ -219,7 +219,8 @@ def append_diag_datasets(parent = None): def wait_beam(): - if not beam_ok: + return + if not beam_ok: print "Waiting for beam..." while not beam_ok: time.sleep(0.1)