Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
monosans committed Mar 6, 2025
1 parent 6a6e05e commit 250a8fa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions proxy_scraper_checker/proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@ async def check(self, *, settings: Settings) -> None:
if settings.check_website_type == CheckWebsiteType.HTTPBIN_IP:
self.exit_ip = parse_ipv4(orjson.loads(content)["origin"])
elif settings.check_website_type == CheckWebsiteType.PLAIN_IP:
self.exit_ip = parse_ipv4(
content.decode(response.get_encoding())
)
self.exit_ip = parse_ipv4(content.decode(response.get_encoding()))
else:
self.exit_ip = None

Expand Down

0 comments on commit 250a8fa

Please sign in to comment.