Change execution of rsync to text mode
This commit is contained in:
parent
8b6b1da7a6
commit
51bc28e62b
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user