From: Oleg Broytman Date: Sun, 12 Nov 2023 18:11:22 +0000 (+0300) Subject: Fix(Py3): Fix log reporting X-Git-Tag: 5.0.0~43 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=e7352b5ec7f97d1f85cc6e0d89ee0a8eeabead40;p=bookmarks_db.git Fix(Py3): Fix log reporting `error` could be bytes. --- 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: