From 64c891fe5c606276809dcd51e116dd3b94bbf76b Mon Sep 17 00:00:00 2001 From: gobbo_a Date: Thu, 22 Dec 2016 16:01:28 +0100 Subject: [PATCH] Closedown --- script/local.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/local.py b/script/local.py index f3bbfd0..7674a72 100755 --- a/script/local.py +++ b/script/local.py @@ -121,7 +121,7 @@ def elogllrf(subject, message, system, subsystem, section, attachments = []): print out -def get_plot_snapshots(title = None, file_type = "png", temp_path = controller.setup.getContextPath()): +def get_plot_snapshots(title = None, file_type = "png", temp_path = context.setup.getContextPath()): """ Returns list with file names of plots snapshots from a plotting context. """ @@ -184,7 +184,7 @@ scan_start.write(-10.0) scan_stop.write(10.0) scan_step.write(1.0) -if not controller.localMode: +if not context.localMode: CAS.setServerPort(12345) cas1=CAS("PSHELL:scanpos",scan_pos, "double") cas2=CAS("PSHELL:scanval",scan_val, "double")