indexing: rename 'lool' -> 'cool'

Change-Id: I8991a671f337a539a4afc0a10f544eb5daabff3f
Signed-off-by: Henry Castro <hcastro@collabora.com>
pull/3649/head
Henry Castro 2021-11-15 11:53:31 -04:00 committed by Andras Timar
parent 969ca88846
commit 7adb84e1c8
1 changed files with 2 additions and 2 deletions

View File

@ -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