Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
jsfehler committed Feb 14, 2024
1 parent 70a6d82 commit fae6254
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions splinter/element_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit fae6254

Please sign in to comment.