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)