From 6c70033e1ad8a400084d1de40a0996473597d398 Mon Sep 17 00:00:00 2001 From: Teodor Date: Fri, 25 Oct 2024 12:51:20 +0300 Subject: [PATCH] reformat code --- src/plone/restapi/search/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plone/restapi/search/handler.py b/src/plone/restapi/search/handler.py index 240f0967e..4740eb126 100644 --- a/src/plone/restapi/search/handler.py +++ b/src/plone/restapi/search/handler.py @@ -77,7 +77,7 @@ def _constrain_query_by_path(self, query): def quote_chars(self, query): # Escape parentheses by adding backslashes before them - return query.replace('(', '').replace(')', '').strip() + return query.replace("(", "").replace(")", "").strip() def search(self, query=None): if query is None: