Skip to content

Commit d409047

Browse files
washcyclerysteboe
authored andcommitted
changed cert_file to ca_Certs
1 parent 9f58c6f commit d409047

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kaggle/api/kaggle_api_extended.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class KaggleApi(KaggleApi):
6969
CONFIG_NAME_PATH = 'path'
7070
CONFIG_NAME_USER = 'username'
7171
CONFIG_NAME_KEY = 'key'
72-
CONFIG_NAME_CERT_FILE = 'cert_file'
72+
CONFIG_NAME_CA_CERTS = 'ca_certs'
7373

7474
HEADER_API_VERSION = 'X-Kaggle-ApiVersion'
7575
DATASET_METADATA_FILE = 'dataset-metadata.json'
@@ -173,8 +173,8 @@ def _load_config(self, config_data):
173173

174174
# Cert File
175175

176-
if self.CONFIG_NAME_PROXY in config_data:
177-
configuration.cert_file = config_data[self.CONFIG_NAME_CERT_FILE]
176+
if self.CONFIG_NAME_CA_CERTS in config_data:
177+
configuration.ca_certs = config_data[self.CONFIG_NAME_CA_CERTS]
178178

179179
# Keep config values with class instance, and load api client!
180180

0 commit comments

Comments
 (0)