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