From e7352b5ec7f97d1f85cc6e0d89ee0a8eeabead40 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 12 Nov 2023 21:11:22 +0300 Subject: [PATCH] Fix(Py3): Fix log reporting `error` could be bytes. --- Robots/bkmk_rforking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Robots/bkmk_rforking.py b/Robots/bkmk_rforking.py index 07f28bc..136440c 100644 --- a/Robots/bkmk_rforking.py +++ b/Robots/bkmk_rforking.py @@ -100,7 +100,7 @@ class robot_forking(Robot): error = check_subp.readPendingErrLine() if not error: break - sys.stderr.write("(subp) " + error) + sys.stderr.write("(subp) %s" % error) sys.stderr.flush() except KeyboardInterrupt: -- 2.39.5