diff options
author | morpheus65535 <[email protected]> | 2022-11-07 13:06:49 -0500 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2022-11-07 13:08:27 -0500 |
commit | bbe2483e21c2c1549ceeed16f021f9581b899f70 (patch) | |
tree | bcc2bef2f55789ec6e6c64809c07fb4f4d3d9c86 /libs/deep_translator/pons.py | |
parent | 708fbfcd8ec0620647975be39a1f6acbbf08f767 (diff) | |
download | bazarr-bbe2483e21c2c1549ceeed16f021f9581b899f70.tar.gz bazarr-bbe2483e21c2c1549ceeed16f021f9581b899f70.zip |
Updated vendored dependencies.
Diffstat (limited to 'libs/deep_translator/pons.py')
-rw-r--r-- | libs/deep_translator/pons.py | 1 |
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) |