Skip to content

Commit c856883

Browse files
committed
'name' not 'filename' in v2
1 parent f508bf5 commit c856883

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyclowder/api/v2/files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def upload_to_dataset(connector, client, datasetid, filepath, check_duplicate=Fa
271271
ds_files = get_file_list(connector, client, datasetid)
272272
for f in ds_files:
273273
if f['name'] == os.path.basename(filepath):
274-
logger.debug("found %s in dataset %s; not re-uploading" % (f['filename'], datasetid))
274+
logger.debug("found %s in dataset %s; not re-uploading" % (f['name'], datasetid))
275275
return None
276276

277277
for source_path in connector.mounted_paths:

0 commit comments

Comments
 (0)