Change execution of rsync to text mode

This commit is contained in:
Eric Torres 2019-04-10 20:48:22 -07:00
parent 8b6b1da7a6
commit 51bc28e62b

View File

@ -29,7 +29,7 @@ def rsync(*args):
syslog.info("Beginning rsync process")
try:
process = subprocess.run(cmd, capture_output=True, check=True)
process = subprocess.run(cmd, capture_output=True, check=True, text=True)
except subprocess.CalledProcessError as e:
syslog.error(e.stderr)
syslog.debug(e.stdout)