diff --git a/script/local.py b/script/local.py index d8ae499..acf5bd8 100644 --- a/script/local.py +++ b/script/local.py @@ -114,7 +114,7 @@ def plot_file(file, ctxt = None): def has_beam(): """ """ - return beam_status.readback.read() !="Machine Down" + return beam_status.readback.read() == "Light Available" def is_id_error(): return (id_error.read()==0)