Skip to content

Commit

Permalink
style: fixing a typo in logging
Browse files Browse the repository at this point in the history
  • Loading branch information
D4Vinci committed Dec 16, 2024
1 parent c282cb3 commit 838b8b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scrapling/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
Expand All @@ -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
Expand Down

0 comments on commit 838b8b1

Please sign in to comment.