]> git.phdru.name Git - bookmarks_db.git/commitdiff
Fix(Py3): Fix log reporting
authorOleg Broytman <phd@phdru.name>
Sun, 12 Nov 2023 18:11:22 +0000 (21:11 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 12 Nov 2023 19:21:09 +0000 (22:21 +0300)
`error` could be bytes.

Robots/bkmk_rforking.py

index 07f28bcf123dc31576049c960e04431ff4964438..136440c28ecc7cdc834e1563087aa154df9de220 100644 (file)
@@ -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: