Change execution of rsync to text mode
This commit is contained in:
		@@ -29,7 +29,7 @@ def rsync(*args):
 | 
				
			|||||||
    syslog.info("Beginning rsync process")
 | 
					    syslog.info("Beginning rsync process")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    try:
 | 
					    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:
 | 
					    except subprocess.CalledProcessError as e:
 | 
				
			||||||
        syslog.error(e.stderr)
 | 
					        syslog.error(e.stderr)
 | 
				
			||||||
        syslog.debug(e.stdout)
 | 
					        syslog.debug(e.stdout)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user