mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-23 00:03:33 +00:00
Fixed podnapisi provider on host with OpenSSL 3
This commit is contained in:
parent
d39f41d7e2
commit
7f05f932ff
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ class PodnapisiSubtitle(_PodnapisiSubtitle):
|
|||
class PodnapisiAdapter(HTTPAdapter):
|
||||
def init_poolmanager(self, connections, maxsize, block=False):
|
||||
ctx = ssl.create_default_context()
|
||||
ctx.set_ciphers('DEFAULT@SECLEVEL=1')
|
||||
ctx.set_ciphers('DEFAULT@SECLEVEL=0')
|
||||
ctx.check_hostname = False
|
||||
self.poolmanager = poolmanager.PoolManager(
|
||||
num_pools=connections,
|
||||
|
|
Loading…
Reference in a new issue