Skip to content

Commit a939486

Browse files
committed
Remove 'name' from collect field
'name' is not used.
1 parent b6d6fd6 commit a939486

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

dms_datastore/dropbox_data.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,12 @@ def get_data(spec):
117117
metadata = listing["metadata"]
118118

119119

120-
name = item["name"]
121120
file_pattern = item["file_pattern"].format(dropbox_home=dropbox_home)
122121
location = item["location"].format(dropbox_home=dropbox_home)
123122
recursive = bool(item["recursive_search"])
124123

125124

126-
collector = DataCollector(name, location, file_pattern, recursive)
125+
collector = DataCollector("dummy", location, file_pattern, recursive)
127126
allfiles = collector.data_file_list()
128127
print("all files")
129128
print(allfiles)

0 commit comments

Comments
 (0)