Skip to content

Commit

Permalink
Fixed problematic line
Browse files Browse the repository at this point in the history
  • Loading branch information
confestim committed Dec 2, 2024
1 parent 5ba67e3 commit 8d0164a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions temmies/group.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ def __init__(self, session, path: str, title: str, parent=None, submitable: bool
# Fetch the page and parse it
response = self.session.get(group_url)
if response.status_code != 200:
raise ConnectionError(f"Failed to retrieve page for '{
self.title}'. Tried {group_url}")
raise ConnectionError(f"Failed to retrieve page for '{self.title}'.")
self._raw = BeautifulSoup(response.text, "lxml")

def get_items(self) -> list:
Expand Down

0 comments on commit 8d0164a

Please sign in to comment.