From fae62540a36a55c0083e5fff61d4ebd600099da8 Mon Sep 17 00:00:00 2001 From: Joshua Fehler Date: Wed, 14 Feb 2024 14:10:28 -0500 Subject: [PATCH] fixup --- splinter/element_list.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/splinter/element_list.py b/splinter/element_list.py index 730d72737..c68f57a2e 100644 --- a/splinter/element_list.py +++ b/splinter/element_list.py @@ -43,7 +43,7 @@ def __getitem__(self, index): return self._container[index] except IndexError as err: raise ElementDoesNotExist( - f'No elements were found with {self.find_by} "{self.query}"' + f'No elements were found with {self.find_by} "{self.query}"', ) from err @property @@ -82,7 +82,7 @@ def __getattr__(self, name: str): return getattr(self._container, name) except AttributeError as err: raise AttributeError( - f"'{self.__class__.__name__}' object has no attribute '{name}'" + f"'{self.__class__.__name__}' object has no attribute '{name}'", ) from err def __iter__(self):