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 1945b84 commit b01a198Copy full SHA for b01a198
caltechdata_api/cli.py
@@ -412,9 +412,9 @@ def upload_supporting_file(record_id=None):
412
filepath = os.path.abspath(files_name)
413
filepaths.append(filepath)
414
print("All files added successfully")
415
- if filename == "n":
+ elif filename == "n":
416
break
417
- if filename in files:
+ elif filename in files:
418
file_size = os.path.getsize(filename)
419
if file_size > 1024 * 1024 * 1024:
420
print(
0 commit comments