Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 8, 2024
1 parent 369a464 commit 48515bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions juriscraper/opinions/united_states/state/pa.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ def _process_html(self):
pubdate = item.xpath("./pubDate/text()")[0]
title = item.xpath("./title/text()")[0]
search = self.regex.search(title)
url = item.xpath(
"./atom:link/@href", namespaces=self.html.nsmap
)[0]
url = item.xpath("./atom:link/@href", namespaces=self.html.nsmap)[
0
]
if search:
name = search.group(1)
docket = search.group(2)
Expand Down

0 comments on commit 48515bf

Please sign in to comment.