The new woob repository is here: This gitlab will be removed soon.

Commit 0ce05a1b authored by Antoine BOSSY's avatar Antoine BOSSY Committed by Vincent A

[hsbc] Use the default tls settings. Fixes #188

parent 09d5f2f3
Pipeline #2192 canceled with stages
......@@ -20,7 +20,6 @@
from __future__ import unicode_literals
import re
import ssl
from datetime import timedelta, date
from lxml.etree import XMLSyntaxError
from collections import OrderedDict
......@@ -132,14 +131,6 @@ def __init__(self, username, password, secret, *args, **kwargs):
def load_state(self, state):
def prepare_request(self, req):
preq = super(HSBC, self).prepare_request(req)
conn = self.session.adapters['https://'].get_connection(preq.url)
conn.ssl_version = ssl.PROTOCOL_TLSv1
return preq
def do_login(self):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment