Skip to content

Commit b01a198

Browse files
authored
Update cli.py
1 parent 1945b84 commit b01a198

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

caltechdata_api/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,9 +412,9 @@ def upload_supporting_file(record_id=None):
412412
filepath = os.path.abspath(files_name)
413413
filepaths.append(filepath)
414414
print("All files added successfully")
415-
if filename == "n":
415+
elif filename == "n":
416416
break
417-
if filename in files:
417+
elif filename in files:
418418
file_size = os.path.getsize(filename)
419419
if file_size > 1024 * 1024 * 1024:
420420
print(

0 commit comments

Comments
 (0)