]> git.phdru.name Git - bookmarks_db.git/blobdiff - Robots/bkmk_rforking.py
Chore: Explicitly open text files in text mode
[bookmarks_db.git] / Robots / bkmk_rforking.py
index 136440c28ecc7cdc834e1563087aa154df9de220..117bf31913fba0b866217980ed58d85a04d56b97 100644 (file)
@@ -24,7 +24,7 @@ from bkmk_objects import Robot
 
 # This is to catch 'close failed: [Errno 9] Bad file descriptor' message
 # from os.close() in Subprocess.die() and errors from the subprocess.
-sys.stderr = open("err.log", 'a')
+sys.stderr = open("err.log", 'at')
 
 check_subp = None
 subp_pipe = None