Skip to content

Commit a674a83

Browse files
committed
bug fix
1 parent 77e8976 commit a674a83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

caltechdata_api/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def get_names(orcid):
254254

255255
def write_s3cmd_config(access_key, secret_key, endpoint):
256256
configf = os.path.join(home_directory, ".s3cfg")
257-
if not os.path.exists(key_file):
257+
if not os.path.exists(configf):
258258
with open(configf, "w") as file:
259259
file.write(
260260
f"""[default]

0 commit comments

Comments
 (0)