Skip to content

Commit 412f4bc

Browse files
Kevin Kimjtsodapop
authored andcommitted
Rename vars
1 parent d5508ef commit 412f4bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labelbox/schema/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def _create_descriptor_file(self, items, max_attachments_per_data_row=None):
259259
def upload_if_necessary(item):
260260
row_data = item['row_data']
261261
if os.path.exists(row_data):
262-
item_url = self.client.upload_file(item['row_data'])
262+
item_url = self.client.upload_file(row_data)
263263
item['row_data'] = item_url
264264
if 'external_id' not in item:
265265
# Default `external_id` to local file name

0 commit comments

Comments
 (0)