File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -215,11 +215,11 @@ def employee_client(username=None,
215215 # Assume access_token is valid for now, user has logged in before at least.
216216 if access_token and user_id :
217217 auth = slauth .EmployeeAuthentication (user_id , access_token )
218- return EmployeeClient (auth = auth , transport = transport )
218+ return EmployeeClient (auth = auth , transport = transport , config_file = config_file )
219219 else :
220220 # This is for logging in mostly.
221221 LOGGER .info ("No access_token or userid found in settings, creating a No Auth client for now." )
222- return EmployeeClient (auth = None , transport = transport )
222+ return EmployeeClient (auth = None , transport = transport , config_file = config_file )
223223
224224
225225def Client (** kwargs ):
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ def get_client_settings_config_file(**kwargs): # pylint: disable=inconsistent-r
8080 r_config ["verify" ] = True
8181 elif r_config ["verify" ].lower () == "false" :
8282 r_config ["verify" ] = False
83- else :
83+ elif r_config [ "verify" ] :
8484 os .environ ['SSL_CERT_FILE' ] = r_config ["verify" ]
8585 return r_config
8686
You can’t perform that action at this time.
0 commit comments