From 838b8b1196c43582570fbda5a66105980d123b4e Mon Sep 17 00:00:00 2001 From: Karim shoair Date: Mon, 16 Dec 2024 13:39:30 +0200 Subject: [PATCH] style: fixing a typo in logging --- scrapling/parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scrapling/parser.py b/scrapling/parser.py index 47d2b32..5440a84 100644 --- a/scrapling/parser.py +++ b/scrapling/parser.py @@ -766,7 +766,7 @@ def save(self, element: Union['Adaptor', html.HtmlElement], identifier: str) -> self._storage.save(element, identifier) else: log.critical( - "Can't use Auto-match features with disabled globally, you have to start a new class instance." + "Can't use Auto-match features while disabled globally, you have to start a new class instance." ) def retrieve(self, identifier: str) -> Optional[Dict]: @@ -780,7 +780,7 @@ def retrieve(self, identifier: str) -> Optional[Dict]: return self._storage.retrieve(identifier) log.critical( - "Can't use Auto-match features with disabled globally, you have to start a new class instance." + "Can't use Auto-match features while disabled globally, you have to start a new class instance." ) # Operations on text functions