From 7adb84e1c8325388d941b65c223ec29efdfac101 Mon Sep 17 00:00:00 2001 From: Henry Castro Date: Mon, 15 Nov 2021 11:53:31 -0400 Subject: [PATCH] indexing: rename 'lool' -> 'cool' Change-Id: I8991a671f337a539a4afc0a10f544eb5daabff3f Signed-off-by: Henry Castro --- indexing/Server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indexing/Server.py b/indexing/Server.py index 96824b562..03f29bae3 100644 --- a/indexing/Server.py +++ b/indexing/Server.py @@ -79,7 +79,7 @@ def callConvertToIndexingXml(filename, filepath): filesDict = { 'data': (filepath, open(filepath, 'rb'), None, {}) } - response = requests.post("{}/lool/convert-to/xml".format(coolServerUrl), files=filesDict) + response = requests.post("{}/cool/convert-to/xml".format(coolServerUrl), files=filesDict) if response.ok: return response.content return None @@ -151,7 +151,7 @@ def callRenderImageService(resultJsonString): "document": (filename, open(documentPath + filename, 'rb'), None, {}), "result" : ("json", resultJsonProcessed, None, {}) } - response = requests.post("{}/lool/render-search-result".format(coolServerUrl), files=filesDict) + response = requests.post("{}/cool/render-search-result".format(coolServerUrl), files=filesDict) return base64.b64encode(response.content) # HTTP Server - Handle HTTP requests