From 955a632cc08c4ccc235b37be7b2d1f76ff855098 Mon Sep 17 00:00:00 2001 From: sfop Date: Tue, 5 Jul 2016 13:48:53 +0200 Subject: [PATCH] Script execution --- script/local.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script/local.py b/script/local.py index f91fe16..007f8b9 100755 --- a/script/local.py +++ b/script/local.py @@ -200,9 +200,9 @@ import ch.psi.pshell.epics.CAS as CAS class ServerUrl(ReadonlyRegisterBase): def doRead(self): - print "XXX" return controller.server.baseURL \ - if controller.isServerEnabled(): #CAS.setServerPort(5062) - cas5 = CAS("PSHELL_OP:SERVER_URL", ServerUrl(), 'string') \ No newline at end of file + d = ServerUrl() + d.initializee() + cas5 = CAS("PSHELL_OP:SERVER_URL", d, 'string') \ No newline at end of file