misc: synology fix

Accept user-contributed fix. Not testable.

Close #690.
This commit is contained in:
James R. Barlow
2020-12-22 01:38:41 -08:00
parent 3675ae918c
commit ab1ff3331b
+3 -1
View File
@@ -79,8 +79,10 @@ for dir_name, subdirs, file_list in os.walk(start_dir):
stdout=output_file,
stderr=subprocess.PIPE,
check=False,
text=True,
errors='ignore',
)
logging.info(proc.stderr.read())
logging.info(proc.stderr)
os.chmod(full_path_ocr, 0o664)
os.chmod(full_path, 0o664)
full_path_ocr_archive = sys.argv[2]