Skip to content

Commit

Permalink
rstrip bgt url
Browse files Browse the repository at this point in the history
  • Loading branch information
martinvonk committed Dec 17, 2024
1 parent 450f67e commit e6d7df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_008_waterschappen.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def bgt_bronhoudername(bgt):
tree = html.fromstring(response.content)
dates = to_datetime(
[
"-".rstrip("-").join(x.rsplit("-", 3)[-3:])
"-".join(x.rstrip("-").rsplit("-", 3)[-3:])
for x in tree.xpath("//a/@href")
if "bronhoudercodes" in x
],
Expand Down

0 comments on commit e6d7df8

Please sign in to comment.