From bfffef69e1b0554d13eec920f1a32f75b49ceac6 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Wed, 15 Nov 2023 23:08:33 +0100 Subject: [PATCH] stop being a stupidly rushing boar (hopefuly) --- tools/tesh/tesh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tesh/tesh.py b/tools/tesh/tesh.py index f8e599026b..0db9022224 100755 --- a/tools/tesh/tesh.py +++ b/tools/tesh/tesh.py @@ -705,7 +705,7 @@ def main(): cmd.timeout = None else: try: - cmd.timeout = [int(line[len("! timeout "):])] + cmd.timeout = int(line[len("! timeout "):]) except ValueError as err: fatal_error("Invalid timeout value: \""+(line[len("! timeout "):])+"\"") -- 2.20.1