aboutsummaryrefslogtreecommitdiffhomepage
path: root/libs/deep_translator/pons.py
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2022-11-07 13:06:49 -0500
committermorpheus65535 <[email protected]>2022-11-07 13:08:27 -0500
commitbbe2483e21c2c1549ceeed16f021f9581b899f70 (patch)
treebcc2bef2f55789ec6e6c64809c07fb4f4d3d9c86 /libs/deep_translator/pons.py
parent708fbfcd8ec0620647975be39a1f6acbbf08f767 (diff)
downloadbazarr-bbe2483e21c2c1549ceeed16f021f9581b899f70.tar.gz
bazarr-bbe2483e21c2c1549ceeed16f021f9581b899f70.zip
Updated vendored dependencies.
Diffstat (limited to 'libs/deep_translator/pons.py')
-rw-r--r--libs/deep_translator/pons.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/deep_translator/pons.py b/libs/deep_translator/pons.py
index c7b711af7..50cb85e46 100644
--- a/libs/deep_translator/pons.py
+++ b/libs/deep_translator/pons.py
@@ -69,6 +69,7 @@ class PonsTranslator(BaseTranslator):
soup = BeautifulSoup(response.text, "html.parser")
elements = soup.findAll(self._element_tag, self._element_query)
+ response.close()
if not elements:
raise ElementNotFoundInGetRequest(word)