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 77e8976 commit a674a83Copy full SHA for a674a83
caltechdata_api/cli.py
@@ -254,7 +254,7 @@ def get_names(orcid):
254
255
def write_s3cmd_config(access_key, secret_key, endpoint):
256
configf = os.path.join(home_directory, ".s3cfg")
257
- if not os.path.exists(key_file):
+ if not os.path.exists(configf):
258
with open(configf, "w") as file:
259
file.write(
260
f"""[default]
0 commit comments