From c74a106038ec7e9852d856cae569b0a34264fa0f Mon Sep 17 00:00:00 2001 From: sfop Date: Thu, 30 Mar 2017 09:28:47 +0200 Subject: [PATCH] Script execution --- script/local.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/script/local.py b/script/local.py index 32cde2d..0eb631a 100755 --- a/script/local.py +++ b/script/local.py @@ -320,8 +320,7 @@ def kill_camtool(): def _run_camtool(): try: cmd = "source /opt/gfa/python\n" - port = camtool.url[camtool.url.rfind(":")+1:] - cmd = cmd + CAMTOOL_SERVER_SCRIPT + " -p " + port + " -b /afs/psi.ch/intranet/SF/Applications/config/camtool_n > /dev/null &" + cmd = cmd + CAMTOOL_SERVER_SCRIPT + " -p " + _get_camtool_port() + " -b /afs/psi.ch/intranet/SF/Applications/config/camtool_n > /dev/null &" print exec_cmd(cmd) except: import traceback