2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-11 15:51:03 +00:00

byte concat

This commit is contained in:
Achilles Rasquinha 2018-01-29 17:43:16 +05:30
parent a120e9e4d6
commit 2b554e55d7

View File

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