Skip to content

Commit 3dcc35f

Browse files
committed
Reverted removal of used flag for loffice processes.
1 parent de7c812 commit 3dcc35f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocr_service/app/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
def start_office_server(port_num):
2121
loffice_process = { "process" : subprocess.Popen(args=[LIBRE_OFFICE_PYTHON_PATH, "-m", "unoserver.server", "--interface", LIBRE_OFFICE_NETWORK_INTERFACE, "--executable", LIBRE_OFFICE_EXEC_PATH, "--port", str(port_num)],
22-
cwd=TMP_FILE_DIR, close_fds=True, shell=False), "pid" : "" , "port" : str(port_num)}
22+
cwd=TMP_FILE_DIR, close_fds=True, shell=False), "pid" : "" , "port" : str(port_num), "used": False}
2323
loffice_process["pid"] = loffice_process["process"].pid
2424

2525
return loffice_process

0 commit comments

Comments
 (0)