From 2b554e55d7e8d20f73775f1022dfce1fd4aad13e Mon Sep 17 00:00:00 2001 From: Achilles Rasquinha Date: Mon, 29 Jan 2018 17:43:16 +0530 Subject: [PATCH] byte concat --- bench/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench/utils.py b/bench/utils.py index 0b8d7931..be0b36a4 100755 --- a/bench/utils.py +++ b/bench/utils.py @@ -254,7 +254,7 @@ def add_to_crontab(line): cmd = ["crontab", "-"] s = subprocess.Popen(cmd, stdin=subprocess.PIPE) s.stdin.write(current_crontab) - s.stdin.write(line + '\n') + s.stdin.write(line + b'\n') s.stdin.close() def read_crontab():