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():