We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb91c13 commit d6481f7Copy full SHA for d6481f7
kaggle/api/kaggle_api_extended.py
@@ -103,7 +103,7 @@ def authenticate(self):
103
config_data = self.read_config_environment(config_data)
104
105
# Step 2: if credentials were not in environment read in configuration file
106
- if 'username' not in config_data or 'key' not in config_data:
+ if self.CONFIG_NAME_USER not in config_data or self.CONFIG_NAME_KEY not in config_data:
107
if os.path.exists(self.config):
108
config_data = self.read_config_file(config_data)
109
else:
0 commit comments