Skip to content

Commit 3724c86

Browse files
authored
Update cli.py
1 parent 47ecb36 commit 3724c86

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
@@ -404,7 +404,7 @@ def upload_supporting_file(record_id=None):
404404
f for f in os.listdir() if not f.endswith(".json") and os.path.isfile(f)
405405
]
406406
idx+=1
407-
print((""+ str(idx) + "/ \n").join(files))
407+
print((f"{idx}/ \n").join(files))
408408
while True:
409409
filename = get_user_input(
410410
"Enter the filename to upload as a supporting file (or '*' to get all files currently in the directory, or the index number of the file as displayed followed by a /, otherwise 'n' to finish): "

0 commit comments

Comments
 (0)