Skip to content

Commit

Permalink
Sandbox URL Creation
Browse files Browse the repository at this point in the history
  • Loading branch information
pixeebot[bot] authored Mar 5, 2024
1 parent 90a5199 commit dcac5dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/xplora_watch/geocoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

import backoff
import requests
from security import safe_requests

try:
import aiohttp
Expand Down Expand Up @@ -285,8 +286,7 @@ def _opencage_request(self, params):
if self.session:
response = self.session.get(self.url, params=params, headers=self._opencage_headers("aiohttp"))
else:
response = requests.get(
self.url, params=params, headers=self._opencage_headers("requests"), timeout=DEFAULT_TIMEOUT
response = safe_requests.get(self.url, params=params, headers=self._opencage_headers("requests"), timeout=DEFAULT_TIMEOUT
)

try:
Expand Down

0 comments on commit dcac5dd

Please sign in to comment.