Skip to content

Commit

Permalink
fix kwarg typo
Browse files Browse the repository at this point in the history
  • Loading branch information
alpha-xone committed Dec 31, 2021
1 parent 047bf75 commit 4d497ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbbg/core/conn.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def connect(max_attempt=3, auto_restart=True, **kwargs) -> blpapi.session.Sessio
sess_opts.setServerHost(serverHost=kwargs['server_host'])

if isinstance(kwargs.get('server_port', None), str):
sess_opts.setServerPort(serverPort=kwargs['server_post'])
sess_opts.setServerPort(serverPort=kwargs['server_port'])

if isinstance(kwargs.get('tls_options', None), blpapi.sessionoptions.TlsOptions):
sess_opts.setTlsOptions(tlsOptions=kwargs['tlsOptions'])
Expand Down

0 comments on commit 4d497ae

Please sign in to comment.