From cdd5f60e14260e36660becd4b99a7c527989bacd Mon Sep 17 00:00:00 2001 From: Markus Zolliker Date: Thu, 19 Mar 2026 11:37:34 +0100 Subject: [PATCH] us 'this' for main instrument --- secop-webserver | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/secop-webserver b/secop-webserver index 75d6476..f187b4c 100755 --- a/secop-webserver +++ b/secop-webserver @@ -34,11 +34,11 @@ def parseArgv(argv): '--instrument', action='store', help="instrument, if running on an instrument computer\n" - "if the value is HOST, take the host name as instrument name", + "if the value is 'this', take the host name as instrument name", default=None) return parser.parse_args(argv) args = parseArgv(sys.argv[1:]) -instrument = None if args.instrument=='main' else args.instrument +instrument = None if args.instrument=='this' else args.instrument server.run(int(args.port), SEHistory(), InfluxGraph, Client, single_instrument=instrument, secop=SecopInteractor)